...
- Create a branch for the release:
git checkout -b $VERSION-RC
- Set the final release version number in the gradle.properties file
- Modify the HISTORY file
- Execute ./gradlew clean distribute -x check -x test to update version strings
Execute a build to update version strings etc. (you may want to skip checks and tests by adding "-x check -x test"):
/gradlew clean distribute
- Commit the changes
- Push the branch
git push -u origin $VERSION
...