- Generate a GPG key pair and distribute the public key as per this blog post. Add the following entries to
~/.gradle/gradle.properties
:- signing.keyId=«key id»
- signing.password=«key password»
- signing.secretKeyRingFile=«path to the secure gpg keyring (not public)»
- Create an account at https://central.sonatype.org/register/legacy/. Do not use Github or other social logins. Add your Sonatype credentials to
~/.gradle/gradle.properties
:- sonatypeOssUsername=«Jira@Sontype username»
- sonatypeOssPassword=«Jira@Sontype password»
- Ensure that the revision you're about to promote has been successfully built on CI.
- Update the version to the required one (usually just dropping -SNAPSHOT) in
buildSrc/src/main/groovy/geb.coordinates.gradle
file. - Change
{geb-version}
expression used inHistory
section in140-project.adoc
to a fixed version (the one that you're about to release). - Commit with message "Version «number»" (don't push yet)
- Tag commit with name "v«number»" (still don't push yet)
- Run
./gradlew publishJarsAndManual closeAndReleaseStagingRepositories
- Wait for the new version to appear in Maven Central, this might take several hours.
- Bump the version to a snapshot of the next planned version.
- Remove the oldest version from
manuals.include()
call insite.gradle
and append the newly released one. - Add a placeholder above the newest version in
History
section in140-project.adoc
using{geb-version}
expression. - Commit with message 'Begin version «version»'
- Push (make sure you push the tag as well).
- Bump Geb versions in example projects:
- Update issues and milestones in GitHub tracker:
- Find all unresolved issues in the tracker that have the fix version set to the recently released version and bulk edit them to have the fix version set to the next version.
- Find the recently released milestone, change the version number if it's different from the one that was released and close it.
- Wait for the build of the next version to pass and the site including manual for the released version to be published.
- Send an email to the mailing list, you can use this one as a template. Please mention significant breaking changes if there are any.