THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Checkout the release branch
Code Block |
---|
git checkout branch-x.y.z
|
Make sure it passes the apache rat tool.
Code Block |
---|
mvn clean apache-rat:check
|
Create a Release Tag from the release branch
Code Block |
---|
git tag -a release-x.y.z-rc0 -m 'Ambari x.y.z RC0'
git push --tags origin
|
Create a tarball
Code Block |
---|
cd ambari-git-x.y.z
git clean -f -x -d
cd ..
cp -R ambari-git-x.y.z ambari-x.y.z-incubating
tar --exclude=.git -zcvf ambari-x.y.z-incubating.tar.gz ambari-x.y.z-incubating
|
Sign the tarball
Code Block |
---|
gpg2 --armor --output ambari-{release_number}-incubating.tar.gz.asc --detach-sig ambari-{release_number}-incubating.tar.gz
|
Generate MD5 checksums:
Code Block |
---|
md5sum ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.md5
sha1sum ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.sha
|
or
Code Block |
---|
openssl md5 ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.md5
openssl sha1 ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.sha
|
...
I have created an ambari-** release candidate.
GIT source tag (r***)
Code Block |
---|
https://git-wip-us.apache.org/repos/asf/incubator-ambari/repo?p=incubator-ambari.git;a=log;h=refs/tags/release-x.y.z-rc0
|
...
Once the vote passes/fails, send out an email with subject like "[RESULT] [VOTE] Apache Ambari x.y.z rc0" to general@incubator.apache.org and ambari-dev@incubator.apache.org. For the vote to pass, 3 +1 votes are required from IPMC members.
After the vote passes:
Copy the bits to distribution folder for Apache AmbariPublish the release as below:
Code Block |
---|
ssh people.apache.org cd /www/wwwsvn co https://dist.apache.org/repos/dist/incubator/ambari/release/ambari ambari cd ambari mkdir ambari-{release_num} cpscp ~/public_html/ambari-{release}/* ambari-{release_num} lnsvn -sfnadd ambari-{release_num} stable svn commit -m "Committing Release {release_num}" |
Create the release tag:
Code Block |
---|
git tag -a release-x.y.z -m 'Ambari x.y.z'
git push --tags origin
|
...