Add transportpce models verify jobs
[releng/builder.git] / jjb / autorelease / version-bump.sh
index a95f9b32f592843547bc4ed991e6f9e9c96a0908..377888355e426d909ebb3f7222b2540e5fb30971 100644 (file)
@@ -29,7 +29,7 @@ set -eu -o pipefail
 # shellcheck disable=SC1090
 . ~/lf-env.sh
 
-lf-activate-venv "git-review==1.28"
+lf-activate-venv --python python3 "git-review==2.3.1"
 
 # Fail if branch cutting is not on master
 if [ "$BRANCH_CUT" = "true" ] && [ "$BRANCH" != "master" ]; then
@@ -48,6 +48,9 @@ if [ "$BRANCH_CUT" = "false" ]; then
     done
 fi
 
+# Workaround for git-review failing to copy the commit-msg hook to submodules
+git config core.hooksPath "$(git rev-parse --show-toplevel)/.git/hooks"
+
 # Setup Gerrit remote to ensure Change-Id gets set on commit.
 git config --global --add gitreview.username "jenkins-$SILO"
 git review -s