[release-tools] Fix auto-roller after depot tools change.
BUG=chromium:491581 LOG=n NOTRY=true TBR=hablich@chromium.org Review URL: https://codereview.chromium.org/1155983002 Cr-Commit-Position: refs/heads/master@{#28604}
This commit is contained in:
parent
5116cbf10e
commit
8712d032e7
@ -77,7 +77,8 @@ class UploadCL(Step):
|
||||
def RunStep(self):
|
||||
cwd = self._options.chromium
|
||||
# Patch DEPS file.
|
||||
if self.Command("roll-dep", "v8 %s" % self._options.roll, cwd=cwd) is None:
|
||||
if self.Command("roll-dep-svn", "v8 %s" %
|
||||
self._options.roll, cwd=cwd) is None:
|
||||
self.Die("Failed to create deps for %s" % self._options.roll)
|
||||
|
||||
message = []
|
||||
|
@ -1019,7 +1019,7 @@ TBR=g_name@chromium.org,reviewer@chromium.org"""
|
||||
Cmd("git pull", "", cwd=chrome_dir),
|
||||
Cmd("git fetch origin", ""),
|
||||
Cmd("git new-branch work-branch", "", cwd=chrome_dir),
|
||||
Cmd("roll-dep v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
|
||||
Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
|
||||
Cmd(("git commit -am \"%s\" "
|
||||
"--author \"author@chromium.org <author@chromium.org>\"" %
|
||||
self.ROLL_COMMIT_MSG),
|
||||
|
Loading…
Reference in New Issue
Block a user