X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fgerrit-push-patch.sh;h=ab9d57bca5e9bf3c01ea3239ff7805cb5196272a;hb=a86c6e8d376c95aa00b179fce9d207e61c8f72d0;hp=30663394b8a405b672465070dc5f5e5dcd764793;hpb=ed50197af9739364c4c962c48e5cfb40b209a7b0;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