Changeset 18809 in josm for trunk/native


Ignore:
Timestamp:
2023-08-16T14:23:58+02:00 (15 months ago)
Author:
taylor.smock
Message:

See #23125: Prefer notarytool if it is available; fall back to altool if it is not

The altool notarization process will stop working in the next few months, so we
need to switch to notarytool.

For now, we will try to use notarytool, and if I messed up the command line,
it should fall back to altool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/native/macosx/macos-jpackage.sh

    r18525 r18809  
    9393
    9494    echo "Uploading to Apple"
     95    # 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
     96    # Keep altool as a backup until 2023-11-01, when it will no longer be able to notarize apps.
     97    xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PW" --wait app/JOSM.zip || \
    9598    xcrun altool --notarize-app -f app/JOSM.zip -p "$APPLE_ID_PW" -u "$APPLE_ID" --primary-bundle-id de.openstreetmap.josm
    9699fi
Note: See TracChangeset for help on using the changeset viewer.