Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: tools/push-to-trunk/auto_tag.py

Issue 618703002: Fix svn tags in release scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/push-to-trunk/common_includes.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import sys 7 import sys
8 8
9 from common_includes import * 9 from common_includes import *
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"]) 146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"])
147 147
148 148
149 class MakeTag(Step): 149 class MakeTag(Step):
150 MESSAGE = "Tag the version." 150 MESSAGE = "Tag the version."
151 151
152 def RunStep(self): 152 def RunStep(self):
153 if not self._options.dry_run: 153 if not self._options.dry_run:
154 self.GitReset(self["lkgr"]) 154 self.GitReset(self["lkgr"])
155 self.vc.Tag(self["candidate_version"]) 155 # FIXME(machenbach): Make this work with the git repo.
156 self.vc.Tag(self["candidate_version"], "svn/bleeding_edge")
156 157
157 158
158 class CleanUp(Step): 159 class CleanUp(Step):
159 MESSAGE = "Clean up." 160 MESSAGE = "Clean up."
160 161
161 def RunStep(self): 162 def RunStep(self):
162 self.CommonCleanup() 163 self.CommonCleanup()
163 164
164 165
165 class AutoTag(ScriptsBase): 166 class AutoTag(ScriptsBase):
(...skipping 23 matching lines...) Expand all
189 GetOldestUntaggedVersion, 190 GetOldestUntaggedVersion,
190 GetLKGRs, 191 GetLKGRs,
191 CalculateTagRevision, 192 CalculateTagRevision,
192 MakeTag, 193 MakeTag,
193 CleanUp, 194 CleanUp,
194 ] 195 ]
195 196
196 197
197 if __name__ == "__main__": # pragma: no cover 198 if __name__ == "__main__": # pragma: no cover
198 sys.exit(AutoTag().Run()) 199 sys.exit(AutoTag().Run())
OLDNEW
« no previous file with comments | « no previous file | tools/push-to-trunk/common_includes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698