aboutsummaryrefslogtreecommitdiff
path: root/infra/bots/git_utils.py
diff options
context:
space:
mode:
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>.+)\)$',