Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nacl_deps_bump.py: Name branches after the current date

  • Loading branch information...
commit 043c379648f6f699e5e688cb784ecbe2ef47c09e 1 parent 3cc7d66
@mseaborn authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  nacl_deps_bump.py
View
3  nacl_deps_bump.py
@@ -143,6 +143,8 @@ def Main():
subprocess.check_call(['git', 'fetch'])
subprocess.check_call(['git', 'checkout', 'origin/trunk'])
+ branch_name = 'auto-deps-%s' % time.strftime('%Y-%m-%d')
+ subprocess.check_call(['git', 'checkout', '-b', branch_name])
svn_rev, irt_hashes = GetNaClRev()
@@ -178,7 +180,6 @@ def Main():
WriteFile('DEPS', deps_data)
- subprocess.check_call(['git', 'checkout', '-b', 'auto-deps'])
subprocess.check_call(['git', 'commit', '-a', '-m', msg])
# TODO: Remove hard-coded path.
Please sign in to comment.
Something went wrong with that request. Please try again.