build: fix upload script defaults (#42430)
This commit is contained in:
parent
92de23bb3c
commit
c4abaec56a
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ def azput(prefix, key_prefix, files):
|
||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
def get_out_dir():
|
def get_out_dir():
|
||||||
out_dir = 'Debug'
|
out_dir = 'Default'
|
||||||
override = os.environ.get('ELECTRON_OUT_DIR')
|
override = os.environ.get('ELECTRON_OUT_DIR')
|
||||||
if override is not None:
|
if override is not None:
|
||||||
out_dir = override
|
out_dir = override
|
||||||
|
|
|
@ -48,7 +48,7 @@ def main():
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
enable_verbose_mode()
|
enable_verbose_mode()
|
||||||
if args.upload_to_storage:
|
if args.upload_to_storage:
|
||||||
utcnow = datetime.datetime.utcnow()
|
utcnow = datetime.datetime.now(datetime.UTC)
|
||||||
args.upload_timestamp = utcnow.strftime('%Y%m%d')
|
args.upload_timestamp = utcnow.strftime('%Y%m%d')
|
||||||
|
|
||||||
build_version = get_electron_build_version()
|
build_version = get_electron_build_version()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue