Feat!: Decommission log shipping on Nexus
[releng/builder.git] / jjb / autorelease / branch-cut.sh
index 90ab655bb02d38d6dd394579a89e82b6b2c5c1f6..0c24b27c94f342d62a78328fb4dd521c2336952d 100644 (file)
@@ -28,6 +28,11 @@ LOG_FILE="$WORKSPACE/archives/branch-cut.log"
 
 set -eu -o pipefail
 
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-activate-venv "git-review==1.28"
+
 # Validate inputs
 if [ -z "$RELEASE" ]; then
     echo "ERROR: RELEASE variable must be set to a release name. Eg Carbon"
@@ -65,7 +70,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