Changeset 17239 in josm for trunk/native/macosx/macos-jpackage.sh
- Timestamp:
- 2020-10-19T03:04:49+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/native/macosx/macos-jpackage.sh
r17236 r17239 17 17 echo "Building JOSM.app" 18 18 19 mkdir app 19 20 jpackage -n "JOSM" --input dist --main-jar josm-custom.jar \ 20 21 --main-class org.openstreetmap.josm.gui.MainApplication \ 21 --icon ./native/macosx/JOSM.icns --type app-image --dest dist\22 --icon ./native/macosx/JOSM.icns --type app-image --dest app \ 22 23 --java-options "-Xmx8192m" --app-version $1 \ 23 24 --copyright "JOSM, and all its integral parts, are released under the GNU General Public License v2 or later" \ … … 69 70 70 71 codesign -vvv --timestamp --options runtime --deep --force --sign "$SIGNING_KEY_NAME" \ 71 dist/JOSM.app/Contents/MacOS/JOSM \72 dist/JOSM.app/Contents/MacOS/libapplauncher.dylib \73 dist/JOSM.app/Contents/runtime/Contents/Home/lib/*.jar \74 dist/JOSM.app/Contents/runtime/Contents/Home/lib/*.dylib \75 dist/JOSM.app/Contents/runtime/Contents/MacOS/libjli.dylib72 app/JOSM.app/Contents/MacOS/JOSM \ 73 app/JOSM.app/Contents/MacOS/libapplauncher.dylib \ 74 app/JOSM.app/Contents/runtime/Contents/Home/lib/*.jar \ 75 app/JOSM.app/Contents/runtime/Contents/Home/lib/*.dylib \ 76 app/JOSM.app/Contents/runtime/Contents/MacOS/libjli.dylib 76 77 77 codesign -vvv --timestamp --entitlements native/macosx/josm.entitlements --options runtime --force --sign "$SIGNING_KEY_NAME" dist/JOSM.app78 codesign -vvv --timestamp --entitlements native/macosx/josm.entitlements --options runtime --force --sign "$SIGNING_KEY_NAME" app/JOSM.app 78 79 79 codesign -vvv dist/JOSM.app80 codesign -vvv app/JOSM.app 80 81 81 82 echo "Preparing for notarization" 82 ditto -c -k --zlibCompressionLevel 9 --keepParent dist/JOSM.app dist/JOSM.zip83 ditto -c -k --zlibCompressionLevel 9 --keepParent app/JOSM.app app/JOSM.zip 83 84 84 85 echo "Uploading to Apple" 85 xcrun altool --notarize-app -f dist/JOSM.zip -p "$APPLE_ID_PW" -u "thomas.skowron@fossgis.de" --primary-bundle-id de.openstreetmap.josm86 xcrun altool --notarize-app -f app/JOSM.zip -p "$APPLE_ID_PW" -u "thomas.skowron@fossgis.de" --primary-bundle-id de.openstreetmap.josm
Note:
See TracChangeset
for help on using the changeset viewer.