- Update
- the version in
gradle.properties
to a non-SNAPSHOT version. README.md
with the new version.git commit -am "Prepare for release X.Y.Z"
(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)
- the version in
- Publish the version
- Run
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
locally - Create a new release in the releases tab on GitHub
- Verify the version is published
- Visit Sonatype Nexus to debug if there is anything wrong.
- Run
- Update
gradle.properties
to the next SNAPSHOT version (X.Y.Z)git commit -am "Prepare next development version."
git push && git push --tags
- Wait for the publish-snapshot.yml action to complete.