Use result of git describe
as version.
This commit is contained in:
parent
dd05759c01
commit
963b73a8aa
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def dist_newer_than_head():
|
|||
def upload():
|
||||
os.chdir(SOURCE_ROOT)
|
||||
bucket, access_key, secret_key = s3_config()
|
||||
commit = subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip()
|
||||
commit = subprocess.check_output(['git', 'describe', '--tags']).strip()
|
||||
|
||||
s3put(bucket, access_key, secret_key, SOURCE_ROOT,
|
||||
'atom-shell/{0}'.format(commit), glob.glob('atom-shell*.zip'))
|
||||
|
|
Loading…
Reference in a new issue