Skip to content

Commit

Permalink
Fix #23125: Update macos notarization
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18878 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Oct 25, 2023
1 parent 1a04594 commit 04888a8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions native/macosx/macos-jpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,5 @@ if $SIGNAPP; then
ditto -c -k --zlibCompressionLevel 9 --keepParent app/JOSM.app app/JOSM.zip

echo "Uploading to Apple"
# Note: --primary-bundle-id was never parsed server side, apparently. See https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool#Submit-a-file
# Keep altool as a backup until 2023-11-01, when it will no longer be able to notarize apps.
xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PW" --wait app/JOSM.zip || \
xcrun altool --notarize-app -f app/JOSM.zip -p "$APPLE_ID_PW" -u "$APPLE_ID" --primary-bundle-id de.openstreetmap.josm
xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PW" --team-id "$APPLE_ID_TEAM" --wait app/JOSM.zip
fi

0 comments on commit 04888a8

Please sign in to comment.