Project

General

Profile

Making a Release » History » Version 7

Tobias Assmann, 09/14/2020 02:22 PM

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
* Now the builds are done for the release, a 'notarization' for OSX must for now done by hand:
15
** 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)
16
** Look up the 'APP-SPECIFIC-PASSWORD' for the OeC App at the "APPLE-ID homepage":https://appleid.apple.com/account/home
17
** If no 'APP-SPECIFIC-PASSWORD' is available you can create one, please have a look "here":https://support.apple.com/en-us/HT204397
18
** Run the 'notarization' of an installer, this will give you a 'REQUEST_UUID':
19
<pre><code class="shell">
20
xcrun altool --notarize-app --primary-bundle-id 
21
"org.openecard.versioncheck.MainLoader" --username "{APPLE_ID_EMAIL}" --
22
password "{APPLE_APP_SPECIFIC_PASSWORD}" --asc--provider "72RMQ6K75Z" --file 
23
{PKG_OR_DMG_FILE}
24
</code></pre>
25
** Check the result, you should recive an email:
26
<pre><code class="shell">
27
xcrun altool --notarization-info "{REQUEST_UUID}" --username 
28
"{APPLE_ID_EMAIL}" --password "{APPLE_APP_SPECIFIC_PASSWORD}"
29
</code></pre>
30
* Draft a new release on "GitHub":https://github.com/ecsec/open-ecard/releases/new
31
* Add a description, upload the build artifacts for all platforms and finish the release
32 6 Tobias Assmann
* Update the version lists on vserver002 (as user typo3-admin):
33
<pre><code class="shell">
34
vim /opt/typo3-test/site/update-list.json
35
vim /opt/typo3-prod/site/update-list.json
36
</code></pre>
37 1 Tobias Assmann
38