Skip to content

Performing a Release

Rohan Nagar edited this page Apr 5, 2021 · 8 revisions

Note: In order to perform a release, you must have write access to this repository.

Run the following command to create a tagged release using the Maven Release Plugin.

$ mvn release:prepare release:perform -Dgoals=deploy

A prompt will appear to enter the release version numbers. Enter the same number, following semantic versioning (major.minor.patch), for each module. The release should be prepared and the plugin will push twice to this repository.

Note: If you use SSH, then when pushing to Github the plugin will ask for the passphrase for the SSH token associated with your Github account.

When the tag is pushed, GitHub Actions will run builds that publish the jar file to Github Releases and a new Docker image to Docker Hub.

Then, locally, check out the created tag and run:

$ mvn deploy -P release-sign-artifacts

This will deploy and release the artifacts to Maven Central.

After the artifacts are pushed to Github Releases, update the release with the release notes.