Skip to content

Commit 15505a1

Browse files
mi-acCommit Bot
authored andcommitted
[release] Fix branch creator after private CLs were disabled
[email protected] NOTRY=true Bug: chromium:877964 Change-Id: Ia7ea1094ea339f6e956cb7241f7d35913b7821b2 Reviewed-on: https://chromium-review.googlesource.com/1190502 Reviewed-by: Michael Achenbach <[email protected]> Commit-Queue: Michael Achenbach <[email protected]> Cr-Commit-Position: refs/heads/master@{#55430}
1 parent a5f627d commit 15505a1

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

tools/release/create_release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ def RunStep(self):
221221
else:
222222
self.GitUpload(author=self._options.author,
223223
force=True,
224-
bypass_hooks=True,
225-
private=True)
224+
bypass_hooks=True)
226225
cmd = "cl land --bypass-hooks -f"
227226
if self._options.dry_run:
228227
print "Dry run. Command:\ngit %s" % cmd

tools/release/git_recipes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ def GitApplyPatch(self, patch_file, reverse=False, **kwargs):
206206
self.Git(MakeArgs(args), **kwargs)
207207

208208
def GitUpload(self, reviewer="", author="", force=False, cq=False,
209-
cq_dry_run=False, bypass_hooks=False, cc="", private=False,
210-
tbr_reviewer="", **kwargs):
209+
cq_dry_run=False, bypass_hooks=False, cc="", tbr_reviewer="",
210+
**kwargs):
211211
args = ["cl upload --send-mail"]
212212
if author:
213213
args += ["--email", Quoted(author)]
@@ -226,8 +226,6 @@ def GitUpload(self, reviewer="", author="", force=False, cq=False,
226226
if cc:
227227
args += ["--cc", Quoted(cc)]
228228
args += ["--gerrit"]
229-
if private:
230-
args += ["--private"]
231229
# TODO(machenbach): Check output in forced mode. Verify that all required
232230
# base files were uploaded, if not retry.
233231
self.Git(MakeArgs(args), pipe=False, **kwargs)

tools/release/test_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ def CheckVersionCommit():
934934
Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
935935
cb=CheckVersionCommit),
936936
Cmd("git cl upload --send-mail --email \"[email protected]\" "
937-
"-f --bypass-hooks --gerrit --private", ""),
937+
"-f --bypass-hooks --gerrit", ""),
938938
Cmd("git cl land --bypass-hooks -f", ""),
939939
Cmd("git fetch", ""),
940940
Cmd("git log -1 --format=%H --grep="

0 commit comments

Comments
 (0)