THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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 # tar it up, but exclude git artifacts tar --exclude=.git -zcvf ambari-x.y.z.tar.gz ambari-x.y.z |
Sign the tarball
Code Block |
---|
gpg2 --armor --output ambari-{release_number}.tar.gz.asc --detach-sig ambari-{release_number}.tar.gz |
...