fix build

This commit is contained in:
Michael Yang 2025-02-03 13:31:22 -08:00
parent d4d338c224
commit 669dc31cf3
2 changed files with 27 additions and 7 deletions

View file

@ -52,7 +52,7 @@ _sign_darwin() {
# create a temporary zip for notarization
TEMP=$(mktemp -u).zip
ditto -c -k --keepParent dist/darwin/ollama "$TEMP"
xcrun notarytool submit dist/darwin/temp.zip --wait --timeout 10m --apple-id $APPLE_ID --password $APPLE_PASSWORD --team-id $APPLE_TEAM_ID
xcrun notarytool submit "$TEMP" --wait --timeout 10m --apple-id $APPLE_ID --password $APPLE_PASSWORD --team-id $APPLE_TEAM_ID
rm -f "$TEMP"
fi