Fix: sourced files w/o arg bashisms
[releng/builder.git] / jjb / autorelease / branch-cut.sh
index 342786b8b6a78b24882412a6fbf2952015fb8a25..6d458b509dd6b5b8ac591f17575caf76d58c8bfa 100644 (file)
@@ -28,7 +28,10 @@ LOG_FILE="$WORKSPACE/archives/branch-cut.log"
 
 set -eu -o pipefail
 
-pip install --user --quiet --upgrade git-review
+# shellcheck disable=SC1090
+. ~/lf-env.sh
+
+lf-activate-venv "git-review==1.28"
 
 # Validate inputs
 if [ -z "$RELEASE" ]; then