Skip to content

Release process

Samuel D. Leslie edited this page Oct 29, 2020 · 5 revisions

Instructions assume a correctly configured development environment.

Preparation

  1. Determine the new version number (for subsequent steps).
  2. Update CHANGELOG.md (review the commit history).
  3. Push all commits on main and check all builds pass.

Releasing

  1. Update the version number in compare-api-java-client/pom.xml (but do not commit).
  2. Clean earlier build outputs: mvn clean
  3. Deploy a new release with Maven: mvn deploy -D publish -P release

Post-release

  1. Increment the version number in compare-api-java-client/pom.xml and add a -SNAPSHOT suffix.
  2. Add a new Git tag corresponding to the release.
  3. Fast-forward the stable branch to match main.
  4. Update any internal repositories to use the new version.

Clone this wiki locally