THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Be sure your local copy is up-to-date
Code Block |
---|
git fetch origin --prune git checkout develop git pull git fetch origin --prune |
Create a release branch
Code Block |
---|
git flow release start X.X.X.X git flow release publish X.X.X.X |
Now you should be on release/X.X.X.X
branch (git status
supposed to confirm that). You must push changes to remote repo as the Release plugins will push changes to remote as well (it's already done after publishing release).
Prepare release
Tag the release by using the "release:prepare" goal of Maven:
Code Block |
---|
mvn release:prepare -DautoVersionSubmodules=true -Dusername=yourSvnUsernameyourGitUsername -Dpassword=yourSvnPasswordyourGitPassword |
For a dry run, add -DdryRun=true
. If you do a dry run, use mvn release:clean
to clean up after you have looked at the output.
...