summary refs log tree commit diff
path: root/.ci/macos/notarize.sh
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2022-09-24 21:30:27 -0400
committerJoseph Donofry <rubberduckie3554@gmail.com>2022-09-24 21:30:27 -0400
commitae442f3b45ef008cf188ee4ba082ca31bb6b3afc (patch)
tree556e26e3f716f2ff489683a9840682fa5c5cfaf0 /.ci/macos/notarize.sh
parentUse notarytool for notarization instead of altool (diff)
downloadnheko-ae442f3b45ef008cf188ee4ba082ca31bb6b3afc.tar.xz
Update requestUUID source
Diffstat (limited to '.ci/macos/notarize.sh')
-rwxr-xr-x.ci/macos/notarize.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh
index b5dd0db8..0b05a1d0 100755
--- a/.ci/macos/notarize.sh
+++ b/.ci/macos/notarize.sh
@@ -52,7 +52,8 @@ chown "${user}" nheko.dmg
 echo "--> Start Notarization process"
 # OLD altool usage: xcrun altool -t osx -f nheko.dmg --primary-bundle-id "io.github.nheko-reborn.nheko" --notarize-app -u "${APPLE_DEV_USER}" -p "${APPLE_DEV_PASS}" > "$NOTARIZE_SUBMIT_LOG" 2>&1
 xcrun notarytool submit nheko.dmg --apple-id "${APPLE_DEV_USER}" --password "${APPLE_DEV_PASS}" --team-id "${APPLE_TEAM_ID}" > "$NOTARIZE_SUBMIT_LOG" 2>&1
-requestUUID="$(awk -F ' = ' '/RequestUUID/ {print $2}' "$NOTARIZE_SUBMIT_LOG" | head -1)"
+# OLD altool usage: requestUUID="$(awk -F ' = ' '/RequestUUID/ {print $2}' "$NOTARIZE_SUBMIT_LOG")"
+requestUUID="$(awk -F ':' '/id/ {print $2}' "$NOTARIZE_SUBMIT_LOG" | head -1)"
 
 while sleep 60 && date; do
   echo "--> Checking notarization status for ${requestUUID}"