Page tree
Skip to end of metadata
Go to start of metadata

1) Setup Phase

  

1.1 Prepare a Linux box

Please use the latest version of CentOS since you can refer to Dockerfile for the detail commands of Mnemonic dependencies deployment.

The Linux box could be a host, virtual machine or docker container.

 

1.1.4 Deploy deps. of Mnemonic devel.

Deploy all dependencies of Mnemonic development, please referring to the Dockerfile in Mnemonic project

For CentOS

https://github.com/apache/incubator-mnemonic/blob/master/docker/Dockerfile

For Ubuntu

https://github.com/apache/incubator-mnemonic/blob/master/docker-ubuntu/Dockerfile

 

1.1.1.1.1 Clone your forked Mnemonic project

NOTE: please add username as prefix to your git url.

 

1.1.1.1.1.1 Add Apache repository as upstream

NOTE: please add username as prefix to your upstream git url.

 

1.1.2.1 Prepare a release key

https://www.apache.org/dev/openpgp.html#generate-key

NOTE : Please use your Apache email address (<your_apache_id>@apache.org) to generate a GPG key for artifacts signing

 

1.1.2.1.1 Submit the key fingerprint

https://id.apache.org


1.1.3.1 Checkout stage trunk

 

1.1.3.1.1 Update KEYS file on stage trunk

Append your generated public key to this KEYS file


1.1.3.2 Checkout release trunk


1.1.3.2.1 Update KEYS file on release trunk

Append your generated public key to this KEYS file


1.1.3.3 Checkout the Mnemonic project status page only

 

1.1.4.1 Configure Maven release account

Add following setting items into your private maven settings file, i.e. ~/m2/settings.xml

Please make sure you can login the following repository using above account info.

https://repository.apache.org

2) Release Phase

 

A Guide To Release Management During Incubation [http://incubator.apache.org/guides/releasemanagement.html]

 

2.1.1.1 Run auto release tool


Note that usually we use the same current version in above command as we cannot predict whether or not have a new candidate for this release before voting
In this step, you may have to input your GPG password to allow gpg to sign off artifacts using your private key

 

2.1.1.1.1 Collect generated artifacts

Please copy all artifacts suffixed with *.tar.gz under target/ folder into the src folder of staged trunk

 

2.1.1.1.1.1.1 Send vote mail to dev@list

SUBJECT : [VOTE] Release of Apache Mnemonic-<version>-incubating [rc<rc_number>]
TO : dev@mnemonic.incubator.apache.org

 

2.1.1.1.1.1.1.1 Collect and report vote result on dev@list

SUBJECT : [RESULT][VOTE] Release of Apache Mnemonic-<version>-incubating [rc<rc_number>]
TO : dev@mnemonic.incubator.apache.org

 

2.1.1.1.1.1.1.1.1 Send vote mail to general@list

SUBJECT : [VOTE] Release of Apache Mnemonic-<version>-incubating [rc<rc_number>]
TO : general@incubator.apache.org

 

 

2.1.1.1.1.1.1.1.1.1 Collect and report vote result on general@list

SUBJECT : [RESULT][VOTE] Release of Apache Mnemonic-<version>-incubating [rc<rc_number>]
TO : general@incubator.apache.org

 

2.1.1.1.1.1.1.1.1.1.2 Terminate GPG agent

 

2.1.1.1.1.1.1.1.1.1.1.2 Send out new release announcement

SUBJECT : [ANNOUNCE] Apache Mnemonic-<version>-incubating released
REPLY-TO : dev@flink.apache.org
TO :
announce@apache.org,
dev@mnemonic.incubator.apache.org,
user@mnemonic.incubator.apache.org

 

2.1.1.1.1.1.1.1.1.1.1.1.1 Publish project status

Please log into the following page and then click the "Build now" to publish updated project status

https://builds.apache.org/view/H-L/view/Incubator/job/Incubator%20Site/


2.1.2 Start GPG agent


2.1.3 Collect version changes info.

a) Please open the Apache JIRA for Mnemonic project -- https://issues.apache.org/jira/browse/MNEMONIC
b) In the overview, click the "Versions"
c) Click the latest version that needs to be release, for example "0.8.0-incubating"
d) Click the button "Release Notes" on top-right
e) Copy the Text between "Configure Release Notes" and "Edit/Copy Release Notes"
f) Open CHANGES.txt and replace all contents with the one just copied for current RC on stage trunk