This document describes the current procedure for preparing an Ignite 3 release.
svn checkout https://dist.apache.org/repos/dist/dev/ignite dist-dev svn checkout https://dist.apache.org/repos/dist/release/ignite dist-release
staging_user=*INSERT STAGING USERNAME HERE* staging_password=*INSERT STAGING PASSWORD HERE*You can specify it in project gradle.property but DO NOT FORGET revert it before push. Better place is gradle.properties in HOME dir, read about it https://docs.gradle.org/current/userguide/build_environment.html
For all the commands going forward:
{version}
with the version number being released.{rc}
with the current sequential number of the release candidate.{gpg}
with your GPG key ID.{dist.dev}
with the local path to the development distribution directory.{dist.release}
with the local path to the release distribution directory.git tag -a {version}-rc{rc} -m "{version}-rc{rc}" git push --tags
signing.keyId=*INSERT KEY HERE LAST 8 CHARS* signing.password=*INSERT PASSWORD HERE* signing.secretKeyRingFile=*INSERT KEY RING ABSOLUTE PATH HERE*To generate a secret key ring file use the following command
gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpgShow key id command (you need only last 8 chars from printed key)
gpg -K
./gradlew publishAllPublicationsToMavenRepository
rm -rf {dist.dev}/{version}-rc{rc} mkdir {dist.dev}/{version}-rc{rc}
./gradlew -PprepareRelease prepareRelease
cp packaging/build/release/* {dist.dev}/{version}-rc{rc}
cd {dist.dev} svn add {version}-rc{rc} svn commit -m “Apache Ignite {version} RC{rc}”
Perform the following actions ONLY after the vote is successful and closed.
rm -rf {dist.release}/{version} mkdir {dist.release}/{version}
cp {dist.dev}/{version}-rc{rc}/* {dist.release}/{version}
cd {dist.release} svn add {version} svn commit -m “Apache Ignite {version}”