mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Add some additional notarization logging
This commit is contained in:
parent
700978c5ec
commit
2a72488a32
1 changed files with 9 additions and 0 deletions
|
@ -55,6 +55,13 @@ xcrun notarytool submit nheko.dmg --apple-id "${APPLE_DEV_USER}" --password "${A
|
|||
# OLD altool usage: requestUUID="$(awk -F ' = ' '/RequestUUID/ {print $2}' "$NOTARIZE_SUBMIT_LOG")"
|
||||
requestUUID="$(awk -F ': ' '/id/ {print $2}' "$NOTARIZE_SUBMIT_LOG" | head -1)"
|
||||
|
||||
if [ -z "${requestUUID}" ]; then
|
||||
echo "Received requestUUID: ${requestUUID}"
|
||||
else
|
||||
echo "Something went wrong when submitting the request... we don't have a UUID"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while sleep 60 && date; do
|
||||
echo "--> Checking notarization status for ${requestUUID}"
|
||||
|
||||
|
@ -65,6 +72,8 @@ while sleep 60 && date; do
|
|||
#isSuccess=$(grep "success" "$NOTARIZE_STATUS_LOG")
|
||||
#isFailure=$(grep "invalid" "$NOTARIZE_STATUS_LOG")
|
||||
|
||||
echo "Status for submission ${requestUUID}: ${sub_status}"
|
||||
|
||||
if [ "${sub_status}" = "Accepted" ]; then
|
||||
echo "Notarization done!"
|
||||
xcrun stapler staple -v nheko.dmg
|
||||
|
|
Loading…
Reference in a new issue