Debug OSX signing and notarization

This commit is contained in:
aboyko
2024-09-05 19:06:20 -04:00
parent 7be5c2c658
commit 4cbf46be37
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,9 @@ dmg_filename="$(basename -- $dmg_file)"
dir="$(dirname "$dmg_file")"
cd $dir
xcrun notarytool submit ./${dmg_filename} --keychain-profile $notarize_profile --wait
submission_id=`xcrun notarytool submit ./${dmg_filename} --keychain-profile $notarize_profile --wait --no-progress -f json | jq -r .id`
echo $submission_id
xcrun notarytool log --keychain-profile $notarize_profile $submission_id
echo "Staple and generate checksums for ${dmg_filename}"
xcrun stapler staple $dmg_filename
if [ $? -eq 0 ]; then