- Make sure you're on the latest commit on the main branch.
- Change
PUBLISH_VERSION
in gradle.properties to a non-SNAPSHOT version. - Update README.md for the impending release.
- Update CHANGELOG.md for the impending release.
- Commit (don't push) the changes with message "Release x.y.z", where x.y.z is the new version.
- Tag the commit
x.y.z
, where x.y.z is the new version. - Change
PUBLISH_VERSION
in gradle.properties to the next SNAPSHOT version. - Commit the snapshot change.
- Push the tag and 2 commits to origin/main.
- Wait for the "Release" Action to complete.
- Create the release on GitHub with release notes copied from the changelog.
If steps 10 fails: drop the Sonatype repo, fix the problem, commit, and start again at step 6.