Try signing inside the JAR

This commit is contained in:
aboyko
2024-09-06 08:59:54 -04:00
parent 448ae23912
commit 336186f290
3 changed files with 30 additions and 18 deletions

View File

@@ -7,9 +7,7 @@ dmg_filename="$(basename -- $dmg_file)"
dir="$(dirname "$dmg_file")"
cd $dir
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
xcrun notarytool submit ./${dmg_filename} --keychain-profile $notarize_profile --wait
echo "Staple and generate checksums for ${dmg_filename}"
xcrun stapler staple $dmg_filename
if [ $? -eq 0 ]; then