Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.53 KB

RELEASING.md

File metadata and controls

32 lines (24 loc) · 1.53 KB

Release Checklist

The following should be done from a release branch i.e. release-1.x:

  • Bump version number from X.Y.Z-SNAPSHOT in pom.xml files
    • mvn versions:set -DnewVersion=1.0.0
  • Bump version number from X.Y.Z-SNAPSHOT in docs/antora.yml
  • Create a version tag with a leading v in a format like vX.Y.Z
  • Trigger release deployment with pushing the version tag to GitHub with git push --tags
  • Merge release branch into master

Prepare for next version

  • Bump version number to X.Y.Z-SNAPSHOT in pom.xml files
  • Bump version number to X.Y.Z-SNAPSHOT in docs/antora.yml
  • Push the release branch
  • Merge release branch into develop
    • git merge release-1.x -s ours

For first release

  • Update Yum repositories in documentation to use release instead of snapshot artifacts

Doing a Signed Release to Maven Central

mvn -DautoVersionSubmodules=true [email protected] -Prelease release:clean release:prepare
mvn -DautoVersionSubmodules=true -Darguments=-Dgpg.keyname="[email protected]" -Dgpg.keyname="[email protected]" -Prelease install deploy
mvn -DautoVersionSubmodules=true -Darguments=-Dgpg.keyname="[email protected]" -Dgpg.keyname="[email protected]" -Prelease release:perform
# note: the stagingRepositoryId comes from the output of the release:perform step
mvn -DautoVersionSubmodules=true -Darguments=-Dgpg.keyname="[email protected]" -Dgpg.keyname="[email protected]" -Prelease nexus-staging:release -DstagingRepositoryId=orgopennms-XXXX