mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-12 12:13:47 +08:00
Finalize script and apply to all workflows
This commit is contained in:
@@ -36,9 +36,12 @@ requestUUID=$(xcrun altool --notarize-app \
|
||||
--file "$1.zip" 2>&1 \
|
||||
| awk '/RequestUUID/ { print $NF; }')
|
||||
# --asc-provider "$3" \
|
||||
|
||||
|
||||
echo "Notarization RequestUUID: $requestUUID"
|
||||
|
||||
# clean up zip
|
||||
rm -f "$APP_NAME.zip"
|
||||
|
||||
if [[ $requestUUID == "" ]]; then
|
||||
echo "Could not upload for notarization"
|
||||
exit 1
|
||||
@@ -48,7 +51,7 @@ fi
|
||||
request_status="in progress"
|
||||
while [[ "$request_status" == "in progress" ]]; do
|
||||
echo -n "waiting... "
|
||||
sleep 10
|
||||
sleep 60
|
||||
request_status=$(xcrun altool --notarization-info "$requestUUID" \
|
||||
--apiKey "$5" \
|
||||
--apiIssuer "$6" 2>&1 \
|
||||
@@ -70,7 +73,4 @@ fi
|
||||
# staple
|
||||
xcrun stapler staple "$1"
|
||||
|
||||
# clean up
|
||||
rm -f "$APP_NAME.zip"
|
||||
|
||||
echo "##########################################################"
|
||||
|
||||
Reference in New Issue
Block a user