RELEASE.md
arrow-stack/build.gradle:
Prepare a pull request with these changes:
arrow-libs/gradle.properties. For instance, the release version will be 0.10.5 and the next SNAPSHOT version will be 0.11.0-SNAPSHOT:projects.version=0.11.0-SNAPSHOT
projects.latestVersion=0.10.5
README.mdWhen merging that pull request, these things will happen automatically:
doc and doc/major.minor directories)Then, close and release the Sonatype repository to sync with Maven Central:
Staging repositoriesNOTE: This plugin provides tasks for closing and releasing the staging repositories. However, that plugin must be applied to the root project, and it would be necessary to discard modules for publication. Let's keep this note here to give it a try later on.
One of the requirements for artifacts available in Central Maven is being signed with GPG/PGP.
These secrets are involved to meet that requirement:
ORG_GRADLE_PROJECT_SIGNINGKEY: private key from Generating a Key PairORG_GRADLE_PROJECT_SIGNINGPASSWORD: passphrase from Generating a Key PairTo verify artifacts during Close task, the public key must be distributed to a key server: Distributing Your Public Key.
Context:
main branch already has other additional features.How to fix a <major.minor.patch> version in some of those contexts:
release/<major.minor.(patch + 1)> branch from tag <major.minor.patch>.<major.minor.(patch + 1)-SNAPSHOT> artifacts are deployed into Sonatype OSS with the fixes.<major.minor.(patch + 1)-SNAPSHOT> version.main branch if the fix must be applied to the new versions as well.release/<major.minor.(patch + 1)> branch to release the fix:
projects.latestVersion in arrow-libs/gradle.properties.README.md.What will happen when merging the last pull request?
<major.minor.(patch + 1)> version into Sonatype staging repository.<major.minor.(patch + 1)> tag will be created.doc/<major.minor> directory in the website will be updated.TODO: Release notes and GitHub release must be created manually.
Then, close and release the Sonatype repository to sync with Maven Central in the same way as other versions.