THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Check out the version of the codebase from which you start the release. For a new minor or major release, this may be HEAD
of the master
branch. To build a hotfix/incremental release, instead of the master
branch, use the release branch of the release being patched. (Please make sure your cloned repository is up-to-date before starting.)
Code Block | ||
---|---|---|
| ||
$ git checkout BRANCH="<master branch OR release tag> branch>" $ git checkout $BRANCH |
Set up a few environment variables to simplify Maven commands that follow. (We use bash
Unix syntax in this guide.)
...
Code Block | ||
---|---|---|
| ||
$ git checkout -b release-$SHORT_RELEASE_VERSION $ git checkout master$BRANCH $ cd tools tools $ OLD_VERSION=$CURRENT_SNAPSHOT_VERSION NEW_VERSION=$NEXT_SNAPSHOT_VERSION releasing/update_branch_version.sh $ cd .. $ git checkout -b release-$SHORT_RELEASE_VERSION |
...