Skip to content

Commit 377a8f4

Browse files
committed
Adding check for empty $REQUEST_UUID on Mac builds
1 parent 5a505d1 commit 377a8f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installer/build-mac-dmg.sh

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ pat='RequestUUID = (.*)'
7070
REQUEST_UUID="${BASH_REMATCH[1]}"
7171
echo " RequestUUID Found: $REQUEST_UUID"
7272

73+
if [ "$REQUEST_UUID" == "" ]; then
74+
echo "Failed to locate REQUEST_UUID, exiting with error."
75+
exit 1
76+
fi
77+
7378
echo "Check Notarization Progress... (list recent notarization records)"
7479
xcrun altool --notarization-history 0 -u "[email protected]" -p "@keychain:NOTARIZE_AUTH" | head -n 10
7580

0 commit comments

Comments
 (0)