From e3e90e561b30f3f669a3320fc4f283047d2844b1 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 15 Sep 2016 08:35:05 -0400 Subject: [PATCH] do not prompt before submitting multiple reviews Sometimes when we update a branch, we need to submit more than one stacked review. Allow that without prompting. Change-Id: I59696ea5124c07c32f98b369adea164a689d63b0 Signed-off-by: Doug Hellmann --- jenkins/scripts/release-tools/add_release_note_page.sh | 2 +- jenkins/scripts/release-tools/functions | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkins/scripts/release-tools/add_release_note_page.sh b/jenkins/scripts/release-tools/add_release_note_page.sh index b323603175..33e1cee96d 100755 --- a/jenkins/scripts/release-tools/add_release_note_page.sh +++ b/jenkins/scripts/release-tools/add_release_note_page.sh @@ -57,4 +57,4 @@ git add releasenotes/source/index.rst releasenotes/source/${SERIES}.rst git diff git commit -m "$commit_msg" git show -git review -t "reno-${SERIES}" +git review -t "reno-${SERIES}" --yes diff --git a/jenkins/scripts/release-tools/functions b/jenkins/scripts/release-tools/functions index 92b5365b5b..839a7fac51 100644 --- a/jenkins/scripts/release-tools/functions +++ b/jenkins/scripts/release-tools/functions @@ -74,7 +74,7 @@ defaultbranch=$branch" git commit -m "Update .gitreview for $branch" git show local shortbranch=$(basename $branch) - git review -t "create-${shortbranch}" + git review -t "create-${shortbranch}" --yes } @@ -92,7 +92,7 @@ function update_upper_constraints { git commit -m "Update UPPER_CONSTRAINTS_FILE for $branch" git show local shortbranch=$(basename $branch) - git review -t "create-${shortbranch}" + git review -t "create-${shortbranch}" --yes fi }