From: Thanh Ha Date: Wed, 24 May 2017 16:33:33 +0000 (-0400) Subject: DO NOT version bump after tagging X-Git-Tag: v0.2.0~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F4971%2F1;p=releng%2Flftools.git DO NOT version bump after tagging The patch command should only handle tagging. We'll be using a job for automated version bumping moving forward. Change-Id: If43c3099961401b46fa045583c138b070dbfd1a2 Signed-off-by: Thanh Ha --- diff --git a/shell/version b/shell/version index 4c8f432e..8e521d8b 100755 --- a/shell/version +++ b/shell/version @@ -170,14 +170,7 @@ version_patch() { git tag -asm "$PROJECT $RELEASE_TAG release" "release/${RELEASE_TAG,,}" find . -name pom.xml -print0 | xargs -0 grep SNAPSHOT - git checkout "${STABLE_BRANCH}" - # Release and then Bump so that the version.sh script creates the right patches - version_release "$RELEASE_TAG" - version_bump "$RELEASE_TAG" - git commit -asm "Bumping versions by x.y.(z+1) for next dev cycle" - find . -name pom.xml -print0 | xargs -0 grep "$RELEASE_TAG" - - echo "Tagging and version bumping complete" + echo "Tagging complete" } # Only run the script if it is being called directly and not sourced.