THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
RC_NUM=0 BRANCH_NAME=branch-3.6 WORK_BRANCH=release-3.6.0 RELEASE_DEVELOPMENT_VERSION=3.6.1-SNAPSHOT RELEASE_VERSION=3.6.0 TAG=release-$RELEASE_VERSION-$RC_NUM git checkout $BRANCH_NAME git checkout -b $WORK_BRANCH git pull git push --dry-runset-upstream origin $WORK_BRANCH git status # you are now in release-x.y.z branch |
...
- removes -SNAPSHOT in all of the pom.xml files (the version is RELEASE_VERSION)
- build the project (even the C client and contrib packages)
- ensures the correct version in C client files (configure.ac, CMakelink.txt, TODO zookeeper_version.h)
- created a signed tag
- bump the branch to the next minor version (RELEASE_DEVELOPMENT_VERSION)
...