mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
commit
2afeb50c4b
1 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,9 @@ local_only=false
|
|||
overwrite_local_app=false
|
||||
bundle_name=""
|
||||
|
||||
# This must match the team in the provsiioning profile.
|
||||
APPLE_NOTORIZATION_TEAM="MQ55VZLNZQ"
|
||||
|
||||
# Function for displaying help info
|
||||
help_info() {
|
||||
echo "
|
||||
|
@ -228,8 +231,7 @@ else
|
|||
|
||||
if [[ -n $MACOS_CERTIFICATE && -n $MACOS_CERTIFICATE_PASSWORD && -n $APPLE_NOTARIZATION_USERNAME && -n $APPLE_NOTARIZATION_PASSWORD ]]; then
|
||||
echo "Notarizing DMG with Apple"
|
||||
npm install -g notarize-cli
|
||||
npx notarize-cli --file "${dmg_file_path}" --bundle-id dev.zed.Zed --username "$APPLE_NOTARIZATION_USERNAME" --password "$APPLE_NOTARIZATION_PASSWORD"
|
||||
"$(xcode-select -p)/usr/bin/notarytool" submit --wait --apple-id "$APPLE_NOTARIZATION_USERNAME" --password "$APPLE_NOTARIZATION_PASSWORD" --team-id "$APPLE_NOTORIZATION_TEAM" "${dmg_file_path}"
|
||||
fi
|
||||
|
||||
if [ "$open_result" = true ]; then
|
||||
|
|
Loading…
Reference in a new issue