MCPcopy Index your code
hub / github.com/nodejs/node / RunStep

Method RunStep

deps/v8/tools/release/create_release.py:142–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140 MESSAGE = "Upload and land changes."
141
142 def RunStep(self):
143 if self._options.dry_run:
144 print("Dry run - upload CL.")
145 else:
146 self.GitUpload(force=True,
147 bypass_hooks=True,
148 no_autocc=True,
149 set_bot_commit=True,
150 message_file=self.Config("COMMITMSG_FILE"))
151 # TODO(crbug.com/1176141): This might need to go through CQ.
152 # We'd need to wait for it to land and then tag it.
153 cmd = "cl land --bypass-hooks -f"
154 if self._options.dry_run:
155 print("Dry run. Command:\ngit %s" % cmd)
156 else:
157 self.Git(cmd)
158
159 os.remove(self.Config("COMMITMSG_FILE"))
160
161
162class TagRevision(Step):

Callers

nothing calls this directly

Calls 5

GitUploadMethod · 0.80
ConfigMethod · 0.80
GitMethod · 0.80
printFunction · 0.50
removeMethod · 0.45

Tested by

no test coverage detected