run npm install on build

This commit is contained in:
Jeffrey Morgan 2023-08-01 17:39:04 -04:00
parent e4a970ece1
commit da52f5bfdd

View file

@ -10,6 +10,7 @@ rm dist/ollama-darwin-amd64 dist/ollama-darwin-arm64
codesign --deep --force --options=runtime --sign "$APPLE_IDENTITY" --timestamp dist/ollama
# build and sign the mac app
npm install --prefix app
npm run --prefix app make:sign
cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-${VERSION:-0.0.0}.zip dist/Ollama-darwin.zip