X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fversion-bump.sh;h=cbd532e5936f7a3538d2e77429c1601b46ff82a4;hb=154a3ebc0345280230e661908a1be60538a46e0d;hp=23d062f4fbc1157d355bd3f25c5d3437432ce2d0;hpb=a922381d030c5d57647f3412f77aee4c8479d458;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/version-bump.sh b/jjb/autorelease/version-bump.sh index 23d062f4f..cbd532e59 100644 --- a/jjb/autorelease/version-bump.sh +++ b/jjb/autorelease/version-bump.sh @@ -26,6 +26,8 @@ BRANCH="$GERRIT_BRANCH" # 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."