From 62f51e1cdfcc829d3d6fd7e5ea3d09919b4aa52c Mon Sep 17 00:00:00 2001 From: Sandeep Thakkar Date: Tue, 6 Feb 2024 12:17:59 +0530 Subject: [PATCH] Fix typo in notarize_apps.sh --- resources/notarize_apps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/notarize_apps.sh b/resources/notarize_apps.sh index 3dee994d..5bf7ce37 100755 --- a/resources/notarize_apps.sh +++ b/resources/notarize_apps.sh @@ -1,5 +1,5 @@ #!/bin/sh - +set -e export DEVELOPER_TEAM_ID=26QKX55P9K export DEVELOPER_USER=sandeep.thakkar@enterprisedb.com export NOTARY_KEYCHAIN_PROFILE=notarytool-password @@ -59,7 +59,7 @@ fi # Staple the notarization echo "Stapling the notarization to the ${PACKAGE_NAME}..." if [[ "${PACKAGE_NAME##*.}" == "zip" ]]; then - xcrun stapler staple ${PRIMAY_BUNDLE_ID}.app + xcrun stapler staple ${PRIMARY_BUNDLE_ID}.app ditto -c -k --keepParent ${PRIMARY_BUNDLE_ID}.app ${PACKAGE_NAME} else xcrun stapler staple ${PACKAGE_NAME}