From 4dd296e1558fcd8860f5cca80547c17c966b724b Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 12 Jul 2023 19:16:39 -0700 Subject: [PATCH] build app in publish script --- scripts/publish.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 12ac1d23..39f65a46 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -12,13 +12,15 @@ ARCH=$(go env GOARCH) go build . +npm --prefix app run make:sign + # Create a new tag if it doesn't exist. if ! git rev-parse v$VERSION >/dev/null 2>&1; then git tag v$VERSION git push origin v$VERSION fi -mkdir dist +mkdir -p dist cp app/out/make/zip/${OS}/${ARCH}/Ollama-${OS}-${ARCH}-${VERSION}.zip dist/Ollama-${OS}-${ARCH}.zip cp ./ollama dist/ollama-${OS}-${ARCH}