- 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)»
- Sign up for a Jira account @ Sonatype. Send your Jira username to someone who is already allowed to publish Geb to Sonatype so that they add a comment this ticket to request access rights for you. 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
geb.gradle
file. - Commit with message "Version «number»" (don't push yet)
- Tag commit with name "v«number»" (still don't push yet)
- Run
./gradlew clean release closeAndPromoteRepository
- 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
oldManualVersions
list insite.gradle
and append the newly released one. - Change
{geb-version}
expression used inHistory
section in140-project.adoc
to a fixed version (the one that has just been released) and add a placeholder above it for future changes 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.