Making a Release » History » Version 1
Tobias Assmann, 06/15/2020 09:58 AM
1 | 1 | Tobias Assmann | h1. Making a Release |
---|---|---|---|
2 | |||
3 | * Finish all your work and merge it to the master branch of "GitHub":https://github.com/ecsec/open-ecard/ |
||
4 | * Determine the version number the release should have |
||
5 | * Use the "maven release plugin":http://maven.apache.org/maven-release/maven-release-plugin/ to create a new release (you will be asked for a version number): |
||
6 | <pre><code class="shell"> |
||
7 | mvn release:prepare |
||
8 | mvn release:perform |
||
9 | </code></pre> |
||
10 | * Now the code is prepared for the release! |
||
11 | * Log into the "Jenkins CI system":https://ci.openecard.org/ |
||
12 | * Open the Job "oec_build_release":https://ci.openecard.org/job/oec_build_release/ |
||
13 | * Start a build with parameters, the version number of the release should go for the parameter "TAG" |
||
14 | * Open the Job "oec_build_release":https://ci.openecard.org/job/oec_build_release_osx/ |
||
15 | * Start a build with parameters, the version number of the release should go for the parameter "TAG" |
||
16 | * Now the builds are done for the release, a 'notarization' for OSX must for now done by hand: |
||
17 | ** Download the '.dmg' and '.pkg' build artifacts to a OSX machine with Xcode and a logged in Apple-ID as part of the ecsec team available (look "here":https://developer.apple.com/account/#/membership/72RMQ6K75Z for details) |
||
18 | ** Look up the 'APP-SPECIFIC-PASSWORD' for the OeC App at the "APPLE-ID homepage":https://appleid.apple.com/account/home |
||
19 | ** If no 'APP-SPECIFIC-PASSWORD' is available you can create one, please have a look "here":https://support.apple.com/en-us/HT204397 |
||
20 | ** Run the 'notarization' of an installer, this will give you a 'REQUEST_UUID': |
||
21 | <pre><code class="shell"> |
||
22 | xcrun altool --notarize-app --primary-bundle-id |
||
23 | "org.openecard.versioncheck.MainLoader" --username "{APPLE_ID_EMAIL}" -- |
||
24 | password "{APPLE_APP_SPECIFIC_PASSWORD}" --asc--provider "72RMQ6K75Z" --file |
||
25 | {PKG_OR_DMG_FILE} |
||
26 | </code></pre> |
||
27 | ** Check the result, you should recive an email: |
||
28 | <pre><code class="shell"> |
||
29 | xcrun altool --notarization-info "{REQUEST_UUID}" --username |
||
30 | "{APPLE_ID_EMAIL}" --password "{APPLE_APP_SPECIFIC_PASSWORD}" |
||
31 | </code></pre> |
||
32 | * Draft a new release on "GitHub":https://github.com/ecsec/open-ecard/releases/new |
||
33 | * Add a description, upload the build artifacts for all platforms and finish the release |
||
34 | |||
35 |