Convert the var name to lower case for $RELEASE 20/80120/1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 1 Feb 2019 22:55:38 +0000 (08:55 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 1 Feb 2019 22:55:38 +0000 (08:55 +1000)
This fails the branch cutting job when the release
name is passed in uppercase, ex: 'Neon'. This fix
handles the case correctly.

Change-Id: I314d4e1f0d4ab44960a75aab6549d0db6c389158
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/branch-cut.sh

index 90ab655bb02d38d6dd394579a89e82b6b2c5c1f6..29e065ea3c3f76a86781d92e920e0609f531155b 100644 (file)
@@ -65,7 +65,7 @@ if [ "$DRY_RUN" = false ]
 then
     echo "Pushing stable/${RELEASE,,} branches to Gerrit"
     git submodule foreach git push gerrit "stable/${RELEASE,,}"
-    git push gerrit "stable/$RELEASE"
+    git push gerrit "stable/${RELEASE,,}"
 fi
 # --- End create new maintenance branch