# Ensure we fail the job if any steps fail.
set -eu -o pipefail
+pip install --user --quiet --upgrade git-review
+
# Fail if branch cutting is not on master
if [ "$BRANCH_CUT" = "true" ] && [ "$BRANCH" != "master" ]; then
echo "ERROR: Cannot branch cut on $BRANCH, its required to be on the master branch."