git pull origin
- Change the version in
gradle.properties
to a non-snapshot version. - Update the
README.md
with the new version. git commit -am "Prepare for release X.Y.Z"
(where X.Y.Z is the new version)./publish.sh
.- Close and release on Sonatype.
git push origin
- Release on GitHub:
- Create a new release here.
- Use the automatic release notes as a base.
- Ensure you pick the "Prepare for release X.Y.Z" as the target commit.
git pull origin main --tags
- Update the
gradle.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version"
git push origin