THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
git checkout $BRANCH_NAME git clean -xdf mvn release:prepare \ -DautoVersionSubmodules=true \ -DreleaseVersion=$RELEASE_VERSION \ -Dtag=$TAG \ -DdevelopmentVersion=$RELEASE_DEVELOPMENT_VERSION \ -Darguments='-DskipTests=true -Pfull-build,apache-release' -Pfull-build,apache-release |
see details in TODO IN THIS GUIDE!!!! (use "preparationGoals" of maven release plugin)
Jira | ||||||
---|---|---|---|---|---|---|
|
The command above perform the following activities:
- removes -SNAPSHOT in all of the pom.xml files
- 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
- umps
Code Block |
---|
cd zookeeper-client/zookeeper-client-c sed -i s/$BRANCH_VERSION/$RELEASE_VERSION/g configure.ac sed -i s/$BRANCH_VERSION/$RELEASE_VERSION/g CMakeLists.txt cd ../.. grep -r $NEWVERSION * |
...