Add some sleep to mac_notarize.sh

Notarization fails because you can't check on its status right away.
Add a sleep to address this.
This commit is contained in:
ridiculousfish 2021-06-29 13:46:08 -07:00
parent ba44c4242f
commit aad64ccdc0

View File

@ -47,6 +47,10 @@ NOTARIZE_UUID=$(xcrun altool --notarize-app \
test -z "$NOTARIZE_UUID" && cat "$LOGFILE" && die "Could not get RequestUUID"
echo "RequestUUID: $NOTARIZE_UUID"
# notarization-info doesn't always know about our request immediately.
echo "Giving notarization-info a chance to catch up..."
sleep 15
success=0
for i in $(seq 20); do
echo "Checking progress..."