File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,18 @@ while [ "$(( $(date +%s) - 3600 ))" -lt "$START" ]; do
91
91
notarize_status=" ${BASH_REMATCH[1]} "
92
92
93
93
if [ " $notarize_status " != " in progress" ] && [ " $notarize_status " != " " ]; then
94
- echo " Notarization Status Found: $notarize_status "
95
- break
94
+ echo " Notarization Status Found: $notarize_status . Wait for notarization to appear in --notarization-history/"
95
+ verify_output=
$( xcrun altool --notarization-history 0 -u " [email protected] " -p " @keychain:NOTARIZE_AUTH" | grep " $REQUEST_UUID " )
96
+ if [ " $verify_output " != " " ]; then
97
+ echo " Notarization record found, and ready for stapling!"
98
+ break
99
+ fi
96
100
fi
97
101
98
102
# Wait a few seconds
99
103
sleep 60
100
104
done
101
105
102
- echo " Check Notarization Progress... (list recent notarization records)"
103
- xcrun altool --notarization-history 0 -u
" [email protected] " -p
" @keychain:NOTARIZE_AUTH" | head -n 10
104
-
105
106
echo " Staple Notarization Ticket to DMG"
106
107
xcrun stapler staple " build/$OS_DMG_NAME "
107
108
You can’t perform that action at this time.
0 commit comments