зеркало из https://github.com/electron/electron.git
build: make nightly filenames more guessable with YMD format
This commit is contained in:
Родитель
f2a7fd44ce
Коммит
9b91d632e0
|
@ -37,7 +37,7 @@ def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
if args.upload_to_s3:
|
if args.upload_to_s3:
|
||||||
utcnow = datetime.datetime.utcnow()
|
utcnow = datetime.datetime.utcnow()
|
||||||
args.upload_timestamp = utcnow.strftime('%Y-%m-%d_%H:%M:%S')
|
args.upload_timestamp = utcnow.strftime('%Y%m%d')
|
||||||
|
|
||||||
if not dist_newer_than_head():
|
if not dist_newer_than_head():
|
||||||
run_python_script('create-dist.py')
|
run_python_script('create-dist.py')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче