- Update version in gradle.properties
- Update CHANGELOG.md
- Update README.md
git checkout -b release
git commit -am "Prepare for release X.Y.Z"
(where X.Y.Z is the new version)./gradlew publish -PRELEASE_SIGNING_ENABLED=true
- Visit Sonatype Nexus and promote the artifact.
- To promote the artifact go to Staging Repositories, select the repository and click on Release.
git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)git push --follow-tags
- Create PR release to main
If step 6 or 7 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5.