From 377a8f4ca7eb43e8f946a5195777c3b706784c42 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Tue, 24 Aug 2021 13:04:45 -0500 Subject: [PATCH] Adding check for empty $REQUEST_UUID on Mac builds --- installer/build-mac-dmg.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer/build-mac-dmg.sh b/installer/build-mac-dmg.sh index daf2d66134..58f9afa4c8 100644 --- a/installer/build-mac-dmg.sh +++ b/installer/build-mac-dmg.sh @@ -70,6 +70,11 @@ pat='RequestUUID = (.*)' REQUEST_UUID="${BASH_REMATCH[1]}" echo " RequestUUID Found: $REQUEST_UUID" +if [ "$REQUEST_UUID" == "" ]; then + echo "Failed to locate REQUEST_UUID, exiting with error." + exit 1 +fi + echo "Check Notarization Progress... (list recent notarization records)" xcrun altool --notarization-history 0 -u "jonathan@openshot.org" -p "@keychain:NOTARIZE_AUTH" | head -n 10