Skip to content

Commit

Permalink
Updated notarization script
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Apr 29, 2024
1 parent 0a0f56b commit 4324c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfsam-basic/src/dmg/notarize_dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
mv "${project.build.directory}/PDFsam Basic-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1
echo "dmg renamed"

xcrun altool --notarize-app --primary-bundle-id org.pdfsam.basic --username $APPLEID --password $APPLEIDPASS --file "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1
xcrun notarytool submit --apple-id $APPLEID --password $APPLEIDPASS --team-id $TEAMID "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1
echo "dmg notarized"

#stapling takes some time and it fails when run right after the notarization, we should probably wait few minutes
Expand Down

0 comments on commit 4324c8a

Please sign in to comment.