Skip to content

Commit

Permalink
Adding check for empty $REQUEST_UUID on Mac builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Aug 24, 2021
1 parent 5a505d1 commit 377a8f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions installer/build-mac-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]" -p "@keychain:NOTARIZE_AUTH" | head -n 10

Expand Down

0 comments on commit 377a8f4

Please sign in to comment.