Index: tools/push-to-trunk/push_to_trunk.py |
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py |
index ce18da4db38bec359f304a11b0fe3b427519c8d5..b22c900aa258bb24d9186edff6dbc1869bd6df71 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -285,6 +285,7 @@ class SquashCommits(Step): |
if not text: # pragma: no cover |
self.Die("Commit message editing failed.") |
+ self["commit_title"] = text.splitlines()[0] |
TextToFile(text, self.Config("COMMITMSG_FILE")) |
@@ -361,7 +362,8 @@ class TagRevision(Step): |
MESSAGE = "Tag the new revision." |
def RunStep(self): |
- self.vc.Tag(self["version"], self.vc.RemoteCandidateBranch()) |
+ self.vc.Tag( |
+ self["version"], self.vc.RemoteCandidateBranch(), self["commit_title"]) |
class CleanUp(Step): |