Update automate-git.py to explicitly fetch tags required for release branch builds.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1794 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-08-07 12:34:12 +00:00
parent 3c655420f1
commit 3f4a1f0822
1 changed files with 2 additions and 0 deletions

View File

@ -813,6 +813,8 @@ if chromium_checkout_changed:
# Fetch new sources. # Fetch new sources.
run("%s fetch" % (git_exe), chromium_src_dir, depot_tools_dir) run("%s fetch" % (git_exe), chromium_src_dir, depot_tools_dir)
# Also fetch tags, which are required for release branch builds.
run("%s fetch --tags" % (git_exe), chromium_src_dir, depot_tools_dir)
# Checkout the requested branch. # Checkout the requested branch.
run("%s checkout %s%s" % \ run("%s checkout %s%s" % \