Changeset 17239 in josm
- Timestamp:
- 2020-10-19T03:04:49+02:00 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/ant.yml
r17236 r17239 23 23 matrix: 24 24 # test against latest update of each major Java version, as well as specific updates of LTS versions: 25 java: [8, 11, 1 4, 15, 16-ea]25 java: [8, 11, 15, 16-ea] 26 26 os: [ubuntu-latest, macos-latest, windows-latest] 27 27 headless: ["true", "false"] … … 30 30 os: macos-latest 31 31 - java: 11 32 os: macos-latest 33 - java: 16-ea 32 34 os: macos-latest 33 35 - headless: "false" … … 125 127 with: 126 128 upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps 127 asset_path: dist/JOSM.zip129 asset_path: app/JOSM.zip 128 130 asset_name: JOSM-${{ runner.os}}-java${{ matrix.java }}.zip 129 131 asset_content_type: application/zip … … 136 138 with: 137 139 upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps 138 asset_path: dist/josm-custom.jar140 asset_path: app/josm-custom.jar 139 141 asset_name: josm-latest.jar 140 142 asset_content_type: application/java-archive -
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.