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"
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