To release Gradle:
Before releasing
- Review all JIRA issues for the release version, and either close them or move them to another version.
- Create a Wiki page with the release notes. The Wiki page should embed a Jira query to the fixed issues.
- Checkout the branch which the release will happen from:
git checkout master - Create a text version of the Jira release notes, add it to the src/changelog.txt file
- Update the version info in the
gradle.propertiesfile so thatnextVersionis set to the version you wish to release. so thatnextVersionis set to the version you wish to release. - Build a test version of the release artifacts:
gradlew clean releaseArtifacts install - You might do some verification:
- Try running the CI build with the test version:
gradle cibuild - Check that the builds for some open source projects which use Gradle continue to work with the test version
- Upload the latest website using
gradlew -u -p website clean uploadLatestWebsiteand test it out at http://www.gradle.org/latest/
- Try running the CI build with the test version:
- Update the example output of
gradle -vinsrc/docs/userguide/installation.xml - Commit any changes
To build the release
- Execute
./gradlew clean release - Smoke test the uploaded distributions and documentation
- Change to the gradle website project and execute
gradle -u -u clean uploadWebsite. This will update all the links on the website. - Update the version info in the
gradle.propertiesfile so thatpreviousVersionis set to the version you just released. Commit changes. - Push to GitHub:
git push origin master,git push origin RB_versionandgit push origin tag REL_version
After the release
- Update
gradle.propertiesto reflect the next planned release. - Update the wrapper to use the released version.
- Update the branch used by the release branch builds on teamcity.
- Update the roadmap.
- Update Jira: Mark the released version as released. Add a new revision version for the release version.
- Send an announcement email to the Gradle and Groovy mailing lists, add the announcement also to the Gradle news. Announce it also on the GradleOrg twitter channel.
- You might update
CrossVersionCompatibilityIntegrationTest.
Labels
