Skip to content

Commit

Permalink
nacl_deps_bump.py: Name branches after the current date
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaborn committed Aug 16, 2011
1 parent 3cc7d66 commit 043c379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nacl_deps_bump.py
Expand Up @@ -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()

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 043c379

Please sign in to comment.