set -eu -o pipefail
+pip install --user --quiet --upgrade git-review
+
# 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