Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to perform an Apache release.

Settings

First, configure your ~/.m2/settings.xml file to include your credentials.

...

To encrypt your password, use Maven's password encryption capabilities.

 

Step-by-step guide

To run on the clean master branch.

Test your settings:

mvn clean install -Papache-release -Pall -DcreateChecksum=true -DskipTests -Dmaven.javadoc.skip=true -Dgpg.passphrase=********

 

Perform the release:

mvn release:prepare -Papache-release -Pall -DautoVersionSubmodules=true -DdevelopmentVersion=X.Y.Z-incubating-SNAPSHOT -Darguments="-DcreateChecksum=true -DskipTests -Dmaven.javadoc.skip=true -Dgpg.passphrase=********"

...

After voting on the dev@ list the release can be promoted. 

Publish artifacts on svn:

svn co https://dist.apache.org/repos/dist/dev/incubator/samoa samoa-apache-dist

 

 

References

http://www.apache.org/dev/publishing-maven-artifacts.html

http://www.apache.org/dev/release-signing.html

http://incubator.apache.org/guides/release.html

See https://github.com/apache/incubator-tinkerpop/blob/master/README.asciidoc