Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 996 Bytes

release-process.md

File metadata and controls

41 lines (29 loc) · 996 Bytes

Release Process

This guide provides a chronological steps which goes through release tagging, staging, verification and publishing.

Check the SNAPSHOT builds and pass the tests

Check that the project builds in java 8 and java 11.

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean package install verify 
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ mvn clean package install verify

Set version and build

# change release in pom.xml
# change release in README.md
mvn clean package install verify -Pdeploy
mvn clean package install verify deploy -Pdeploy
git add -A
git commit -S -m 'Release <2.2.0>'
git tag -a <v.2.2.0> -m "Tagging release <2.2.0>"
git push
git push --tags

Prepare next iteration

# change release to SNAPSHOT in pom.xml
git add -A
git commit -S -m 'Next release cycle'
git push

Create release and upload artifacts to Github

Manually creating the release in Github project page, and upload generated artifacts.