Fix: sourced files w/o arg bashisms
[releng/builder.git] / jjb / autorelease / version-bump.sh
index 1980f77df94a823286db48255891552b89a44589..a95f9b32f592843547bc4ed991e6f9e9c96a0908 100644 (file)
@@ -26,7 +26,10 @@ BRANCH="$GERRIT_BRANCH"
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
 
-pip install --user --quiet --upgrade git-review
+# shellcheck disable=SC1090
+. ~/lf-env.sh
+
+lf-activate-venv "git-review==1.28"
 
 # Fail if branch cutting is not on master
 if [ "$BRANCH_CUT" = "true" ] && [ "$BRANCH" != "master" ]; then