From a26324d40b908348c53e40c8502712d8324400d5 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 31 Oct 2017 09:47:50 -0400 Subject: [PATCH] fix build version hash length --- build/upload_assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/upload_assets.py b/build/upload_assets.py index ea45d5c09..b33ff9f31 100644 --- a/build/upload_assets.py +++ b/build/upload_assets.py @@ -20,7 +20,7 @@ def get_asset_filename(): def upload_to_s3(folder): - tag = subprocess.check_output(['git', 'describe', '--always', 'HEAD']).strip() + tag = subprocess.check_output(['git', 'describe', '--always', '--abbrev=8', 'HEAD']).strip() commit_date = subprocess.check_output([ 'git', 'show', '-s', '--format=%cd', '--date=format:%Y%m%d-%H%I%S', 'HEAD']).strip()