| OLD | NEW |
| 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 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following | 10 # copyright notice, this list of conditions and the following |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 self.GitPresubmit() | 212 self.GitPresubmit() |
| 213 self.vc.CLLand() | 213 self.vc.CLLand() |
| 214 | 214 |
| 215 | 215 |
| 216 class TagRevision(Step): | 216 class TagRevision(Step): |
| 217 MESSAGE = "Create the tag." | 217 MESSAGE = "Create the tag." |
| 218 | 218 |
| 219 def RunStep(self): | 219 def RunStep(self): |
| 220 if self._options.revert_bleeding_edge: | 220 if self._options.revert_bleeding_edge: |
| 221 return | 221 return |
| 222 print "Creating tag svn/tags/%s" % self["version"] | 222 print "Creating tag %s" % self["version"] |
| 223 self.vc.Tag(self["version"], self.vc.RemoteBranch(self["merge_to_branch"])) | 223 self.vc.Tag(self["version"], self.vc.RemoteBranch(self["merge_to_branch"])) |
| 224 | 224 |
| 225 | 225 |
| 226 class CleanUp(Step): | 226 class CleanUp(Step): |
| 227 MESSAGE = "Cleanup." | 227 MESSAGE = "Cleanup." |
| 228 | 228 |
| 229 def RunStep(self): | 229 def RunStep(self): |
| 230 self.CommonCleanup() | 230 self.CommonCleanup() |
| 231 if not self._options.revert_bleeding_edge: | 231 if not self._options.revert_bleeding_edge: |
| 232 print "*** SUMMARY ***" | 232 print "*** SUMMARY ***" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 CommitLocal, | 296 CommitLocal, |
| 297 UploadStep, | 297 UploadStep, |
| 298 CommitRepository, | 298 CommitRepository, |
| 299 TagRevision, | 299 TagRevision, |
| 300 CleanUp, | 300 CleanUp, |
| 301 ] | 301 ] |
| 302 | 302 |
| 303 | 303 |
| 304 if __name__ == "__main__": # pragma: no cover | 304 if __name__ == "__main__": # pragma: no cover |
| 305 sys.exit(MergeToBranch().Run()) | 305 sys.exit(MergeToBranch().Run()) |
| OLD | NEW |