From 5cdf560ad9f2c1c75e7b3548e7df2f3627ad9e5b Mon Sep 17 00:00:00 2001 From: FriwiDev Date: Tue, 1 Nov 2022 06:19:46 +0100 Subject: [PATCH] Remove notarization zips from bundle --- macosx_notarize.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macosx_notarize.sh b/macosx_notarize.sh index 35b3579..301ba71 100755 --- a/macosx_notarize.sh +++ b/macosx_notarize.sh @@ -34,20 +34,20 @@ xcrun notarytool submit "$1.zip" \ --key-id $5 \ --issuer $7 \ --wait 2>&1 | tee notary_output.txt - +rm -r "$APP_NAME.zip" requestUUID=$(cat notary_output.txt | awk '/id:/ { print $NF; exit; }') echo "Notarization log:" -rm -f notarization.log xcrun notarytool log $requestUUID \ --key $6 \ --key-id $5 \ --issuer $7 \ notarization.log cat notarization.log +rm -f notarization.log echo "" # staple -xcrun stapler staple "$1" +xcrun stapler -v staple "$1" echo "##########################################################"