- Change the version in
gradle.properties
to a non-SNAPSHOT version. - Update the
CHANGELOG.md
for the impending release. ./gradlew clean build install --no-build-cache -x :henson-plugin:functionalTest
This step is not conventional, it installs the new version in your local maven repo, and skips the henson-plugin functional tests. It will update the version of DH that is installed by the plugin the next time it will run.git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)./gradlew clean build uploadArchives
(build is important here as we need the version number to be passed to a resource file)- Visit Sonatype Nexus and promote the artifact.
git tag -a X.Y.X -m "Version X.Y.Z"
(where X.Y.Z is the new version)- Update the
gradle.properties
to the next SNAPSHOT version. ./gradlew clean build --no-build-cache -x :henson-plugin:functionalTest
to update the dependency versions installed by the plugingit commit -am "Prepare next development version."
git push && git push --tags
If step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5.