Skip to content

Release Process

Vivek Limkar edited this page May 10, 2021 · 1 revision

Steps for CommandHunt Release

  • Before planning for release, make sure that the application is well tested and there are no high priority defects pending.
  • Sync the git tags from the remote repo to local repo with below command.
git fetch --prune origin 'refs/tags/*:refs/tags/*' '+refs/heads/*:refs/remotes/origin/*'
  • Remove -SNAPSHOT from the revision property of parent pom in the your local repository.
  • Then run the maven build on parent project with below command.
mvn clean install -e

NOTE: Do not skip this step, as the maven replacer plugin needs to be executed after updating the version. The replacer plugin will replace the version in few other non-pom files.

  • Make the release commit with message Release vX.X.X & push the changes to remote repository.
  • Tag the release with tag name as vX.X.X
  • Create a release on github pointing to the release tag and then upload & attach artifacts to the release.
  • Update the revision to next version with -SNAPSHOT suffix.
  • Then run the maven build on parent project with below command.
mvn clean install -e

NOTE: Do not skip this step, as the maven replacer plugin needs to be executed after updating the version. The replacer plugin will replace the version in few other non-pom files.

  • Make the commit with the message Prepare for next development iteration & push the changes.
Clone this wiki locally