fix build_darwin.sh

This commit is contained in:
Jeffrey Morgan 2023-07-29 10:13:10 -07:00
parent 39bb25d5f6
commit 90ba0b80c7

View file

@ -11,7 +11,7 @@ codesign --deep --force --options=runtime --sign "$APPLE_IDENTITY" --timestamp d
# build and sign the mac app
npm run --prefix app make:sign
cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-${VERSION:-0.0..zip dist/Ollama-darwin.zip
cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-${VERSION:-0.0.0}.zip dist/Ollama-darwin.zip
# sign the binary and rename it
codesign -f --timestamp -s "$APPLE_IDENTITY" --identifier ai.ollama.ollama --options=runtime dist/ollama