Drop RELEASE_TAG from Nitrogen onwards
[releng/builder.git] / jjb / autorelease / version-bump.sh
index c0d70af2c9f41540d7e8515aebfc4851612c986d..bc68b8b75114badd1805bbf15723df6569aa4f61 100644 (file)
 # This script performs version bumping activities for an ODL release.
 echo "---> version-bump.sh"
 
-# Set release tag as $STREAM, when no release tag is passed
-RELEASE_TAG="${RELEASE_TAG:-${STREAM^}}"
-# Ensure that the first letter of RELEASE_TAG is uppercase.
-RELEASE_TAG="${RELEASE_TAG^}"
+# The only purpose of RELEASE_TAG in this script is to set the Gerrit topic.
+# It is also used as a placeholder for version bumping but gets wiped out
+# immediately to bump versions by x.y.(z+1).
+RELEASE_TAG="${STREAM^}"
 
 mkdir -p "$WORKSPACE/archives"
 LOG_FILE="$WORKSPACE/archives/version-bump.log"