X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fgerrit-push-patch.sh;h=ab9d57bca5e9bf3c01ea3239ff7805cb5196272a;hb=e3b7272bf8e6032fadc2aea33076bdff8a93cf90;hp=30663394b8a405b672465070dc5f5e5dcd764793;hpb=3885b944225b4de01cbdf24a88ab103de2841ffe;p=releng%2Fglobal-jjb.git diff --git a/shell/gerrit-push-patch.sh b/shell/gerrit-push-patch.sh index 30663394..ab9d57bc 100644 --- a/shell/gerrit-push-patch.sh +++ b/shell/gerrit-push-patch.sh @@ -47,13 +47,13 @@ echo -e "INFO: Staged for commit:\n$staged_commits\n" # shellcheck disable=SC1090 source ~/lf-env.sh -lf-activate-venv "git-review>=1.28" +lf-activate-venv "git-review==1.28" # Query for a pre-existing gerrit review query_result=$(ssh -p 29418 "$GERRIT_USER@$GERRIT_HOST" gerrit query \ - limit:1 owner:self is:open project:"$PROJECT" \ - message: "$GERRIT_COMMIT_MESSAGE" \ - topic: "$GERRIT_TOPIC") + limit:1 owner:self is:open project:"$PROJECT" \ + message: "$GERRIT_COMMIT_MESSAGE" \ + topic: "$GERRIT_TOPIC") # Extract the change_id from the query_result job=$JOB_NAME/$BUILD_NUMBER