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

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

Issue 600383003: Fix version increment. (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 """ 6 """
7 Script for auto-increasing the version on bleeding_edge. 7 Script for auto-increasing the version on bleeding_edge.
8 8
9 The script can be run regularly by a cron job. It will increase the build 9 The script can be run regularly by a cron job. It will increase the build
10 level of the version on bleeding_edge if: 10 level of the version on bleeding_edge if:
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 print "Specify your chromium.org email with -a" 215 print "Specify your chromium.org email with -a"
216 return False 216 return False
217 options.wait_for_lgtm = False 217 options.wait_for_lgtm = False
218 options.force_readline_defaults = True 218 options.force_readline_defaults = True
219 options.force_upload = True 219 options.force_upload = True
220 return True 220 return True
221 221
222 def _Config(self): 222 def _Config(self):
223 return { 223 return {
224 "PERSISTFILE_BASENAME": "/tmp/v8-bump-up-version-tempfile", 224 "PERSISTFILE_BASENAME": "/tmp/v8-bump-up-version-tempfile",
225 "PATCH_FILE": "/tmp/v8-bump-up-version-tempfile-patch-file",
225 } 226 }
226 227
227 def _Steps(self): 228 def _Steps(self):
228 return [ 229 return [
229 Preparation, 230 Preparation,
230 GetCurrentBleedingEdgeVersion, 231 GetCurrentBleedingEdgeVersion,
231 LastChangeBailout, 232 LastChangeBailout,
232 FetchLKGR, 233 FetchLKGR,
233 GetLKGRVersion, 234 GetLKGRVersion,
234 LKGRVersionUpToDateBailout, 235 LKGRVersionUpToDateBailout,
235 GetTrunkVersion, 236 GetTrunkVersion,
236 CalculateVersion, 237 CalculateVersion,
237 CheckTreeStatus, 238 CheckTreeStatus,
238 ChangeVersion, 239 ChangeVersion,
239 ] 240 ]
240 241
241 if __name__ == "__main__": # pragma: no cover 242 if __name__ == "__main__": # pragma: no cover
242 sys.exit(BumpUpVersion().Run()) 243 sys.exit(BumpUpVersion().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