THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
git tag -a release-x.y.z-rc0 -m 'Ambari x.y.z RC0' git push origin release--tags originx.y.z-rc0 |
Create a tarball
Code Block |
---|
# create a clean copy of the source cd ambari-git-x.y.z git clean -f -x -d cd .. cp -R ambari-git-x.y.z ambari-x.y.z # create ambari-web/public by running the build instructions per https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development # once ambari-web/public is created, copy it as ambari-web/public-static cp -R ambari-git-x.y.z/ambari-web/public ambari-x.y.z/ambari-web/public-static # make sure apache rat tool runs successfully cp -R ambari-x.y.z ambari-x.y.z-ratcheck cd ambari-x.y.z-ratcheck mvn clean apache-rat:check cd .. # if rat check fails, file JIRAs and fix them before proceeding. # tar it up, but exclude git artifacts tar --exclude=.git -zcvf ambari-x.y.z.tar.gz ambari-x.y.z |
...