Ensure tags are fetched when generating the V8 version.

This is needed so that version generation works after
bot_update fetched v8 in a chromium checkout.

TBR=tandrii@chromium.org
BUG=chromium:446166
LOG=n

Review URL: https://codereview.chromium.org/860163002

Cr-Commit-Position: refs/heads/master@{#26177}
This commit is contained in:
machenbach 2015-01-20 23:59:47 -08:00 committed by Commit bot
parent 4a62f245ae
commit ea6831e9de

View File

@ -28,6 +28,11 @@ VERSION_GEN_CC = os.path.join(CWD, "src", "version_gen.cc")
def generate_version_file():
# Make sure the tags are fetched.
subprocess.check_output(
"git fetch origin +refs/tags/*:refs/tags/*",
shell=True,
cwd=CWD)
tag = subprocess.check_output(
"git describe --tags",
shell=True,