git checkout main
git pull origin main
- Change the version in
gradle.properties
to a non-snapshot version. - Update the
README.md
with the new version. ./gradlew versionCurrentDocs
git add .
git commit -am "Prepare for release X.Y.Z"
./publish.sh
.- Close and release on Sonatype.
git push origin main
- Release on GitHub:
- Create a new release here.
- Use the automatic changelog. Update if needed.
- 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 main