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*For generate secret key ring file please use follow 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 buildAndSignAllSrcZip
cp packaging/build/distributions/apache-ignite-3.0.0-beta1-src.zip \ packaging/build/distributions/ignite3-{version}.zip.asc \ packaging/build/distributions/ignite3-{version}.zip.sha512 \ {dist.dev}/{version}-rc{rc}
./gradlew allDistZip
./gradlew signAllDistZip signCliZip signDbZip
cp packaging/build/distributions/ignite3-{version}.zip \ packaging/build/distributions/ignite3-{version}.zip.asc \ packaging/build/distributions/ignite3-{version}.zip.sha512 \ packaging/build/db/distributions/ignite3db-{version}.zip \ packaging/build/db/distributions/ignite3db-{version}.zip.asc \ packaging/build/db/distributions/ignite3db-{version}.zip.sha512 \ packaging/build/cli/distributions/ignite3cli-{version}.zip \ packaging/build/cli/distributions/ignite3cli-{version}.zip.asc \ packaging/build/cli/distributions/ignite3cli-{version}.zip.sha512 \ /Users/vkulichenko/GridGain/dist-dev/{version}-rc{rc}
./gradlew buildDeb buildRpm
cp packaging/db/build/distributions/*.deb packaging/db/build/distributions/*.changes \ packaging/db/build/distributions/*.rpm \ packaging/cli/build/distributions/*.deb packaging/cli/build/distributions/*.changes \ packaging/cli/build/distributions/*.rpm \ {dist.dev}/{version}-rc{rc}
./gradlew buildAndSignCppClient buildAndSignNuGetZip
cp modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-cpp.zip \ modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-cpp.zip.asc \ modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-cpp.zip.sha512 \ modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-nuget.zip \ modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-nuget.zip.asc \ modules/platforms/build/distributions/apache-ignite-3.0.0-beta1-nuget.zip.sha512 \ {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}”