From 76f82bcd2f2dda4c2fe53f5dfcbc61339ed8a93f Mon Sep 17 00:00:00 2001 From: Sandeep Thakkar Date: Tue, 6 Feb 2024 14:35:36 +0530 Subject: [PATCH] Fix typo in notarize_apps.sh --- resources/notarize_apps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/notarize_apps.sh b/resources/notarize_apps.sh index 3dee994d..429138c4 100755 --- a/resources/notarize_apps.sh +++ b/resources/notarize_apps.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e export DEVELOPER_TEAM_ID=26QKX55P9K export DEVELOPER_USER=sandeep.thakkar@enterprisedb.com @@ -59,7 +60,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}