- Change the
VERSION_NAME
in rootgradle.properties
to a non-SNAPSHOT version to be released. - Run
./gradlew clean build
to make sure project builds successfully. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)./gradlew clean publish :whetstone-gradle-plugin:publish
.- Visit Sonatype Nexus and promote the artifact.
git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)- Update the root
gradle.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version."
git push && git push --tags
- Go to Github and create a new release (including necessary changelog) using the new tag that was just pushed