Describe in the release documentation how to update versions

Change-Id: If097829f5e7a80871593ed115b3966192254708c
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2014-06-03 09:16:20 +02:00
parent 8023b5d9b6
commit 6ba21941e4

View File

@@ -119,6 +119,25 @@ the subproject.
* Update the `id`, `bin_sha1`, and `src_sha1` values in the `maven_jar`
for the Subproject in `/lib/BUCK` to the released version.
[[update-versions]]
=== Update Versions and Create Release Tag
Before doing the release build the `GERRIT_VERSION` in the `VERSION`
file must be updated, e.g. change if from `2.5-SNAPSHOT` to `2.5`.
In addition the version must be updated in a number of pom.xml files.
To do this run the `./tools/version.sh` script and provide the new
version as parameter, e.g.:
----
./tools/version.sh 2.5
----
Commit the changes and create the release tag on the new commit:
----
git tag -a v2.5
----
[[build-gerrit]]
=== Build Gerrit