- Change the version in
gradle.propertiesto a non-SNAPSHOT version. - Update the
CHANGELOG.mdfor the impending release. ./gradlew clean build install --no-build-cache -x :henson-plugin:functionalTestThis 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.propertiesto the next SNAPSHOT version. ./gradlew clean build --no-build-cache -x :henson-plugin:functionalTestto 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.