aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/git_utils.py
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2017-07-14 08:15:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-14 12:41:34 +0000
commitcf79ee5626ddf9c5fb5315a560d10c25f4270c6f (patch)
treeabd99ae34bb033e065132baab11bc95c87d4e26e /infra/bots/git_utils.py
parent83d118550f7237d25e7e096cc968dbb9a06678a3 (diff)
Publish uploaded RecreateSKPs CL
Bug: skia:6797 Change-Id: I02e2a3d13a52bba66f4f9d2129aae5f094828329 Reviewed-on: https://skia-review.googlesource.com/23323 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/git_utils.py')
-rw-r--r--infra/bots/git_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/bots/git_utils.py b/infra/bots/git_utils.py
index a5a93931d4..5e1d0c9537 100644
--- a/infra/bots/git_utils.py
+++ b/infra/bots/git_utils.py
@@ -74,6 +74,8 @@ class GitBranch(object):
upload_cmd.extend(['-t', 'Patch set %d' % self._patch_set])
if use_commit_queue:
upload_cmd.append('--use-commit-queue')
+ # Need the --send-mail flag to publish the CL and remove WIP bit.
+ upload_cmd.append('--send-mail')
subprocess.check_call(upload_cmd)
output = subprocess.check_output(['git', 'cl', 'issue']).rstrip()
return re.match('^Issue number: (?P<issue>\d+) \((?P<issue_url>.+)\)$',