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
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>apache.staging</id> <username>USERNAME</username> <password>PASSWORD</password> </server> </servers> </settings>
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
mvn clean verify gpg:sign deploy:deploy -Dgpg.keyname={gpg} [-DskipTests]
rm -rf {dist.dev}/{version}-rc{rc} mkdir {dist.dev}/{version}-rc{rc}
git archive --prefix=apache-ignite-{version}-src/ -o target/apache-ignite-{version}-src.zip HEAD
target
folder:cd target
gpg -a -u {gpg} -b apache-ignite-{version}-src.zip gpg -a -u {gpg} -b apache-ignite-{version}.zip gpg --print-md SHA512 apache-ignite-{version}-src.zip > apache-ignite-{version}-src.zip.sha512 gpg --print-md SHA512 apache-ignite-{version}.zip > apache-ignite-{version}.zip.sha512
cp apache-ignite-{version}-src.zip apache-ignite-{version}-src.zip.asc apache-ignite-{version}-src.zip.sha512 \ apache-ignite-{version}.zip apache-ignite-{version}.zip.asc apache-ignite-{version}.zip.sha512 \ /Users/vkulichenko/GridGain/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}”