Details for releasing ORM via a Jenkins job.
The release can alternatively be performed manually - see [./manual-release-process.adoc] for details.
First, a list of resources you will need access to in order to perform a release:
-
Post permissions for both hibernate-dev and hibernate-announce mailing lists
-
Post permissions for Hibernate forums
-
Post permissions for both G+ and Twitter
-
Perform
./gradlew preVerifyRelease
locally (after pulling all upstream changes). The Jenkins job does only the release steps, and we need to make sure tests are ok -
Mark the version as released in Jira
-
Close all issues associated with the version as closed. Be sure to remove the version from any issues that are not resolved (e.g. rejected) - the Jira "release notes" mechanism includes all issues with that version as the fix-for regardless of the resolution
-
Start the Jenkins job. It is a parameterized build - Jenkins will prompt user for needed information:
-
The version to be released (e.g. 7.0.0.Final)
-
The next development version (e.g. 7.0.1-SNAPSHOT)
-
The GitHub branch from which to release
-
The Jenkins job performs the following tasks:
-
sets the version to the provided release version
-
updates the changelog with the info from Jira
-
performs bintray, sourceforge and documentation upload
-
tags the version and push it to github
-
changes the version to the provided development version
-
push to github