build: fix upload script defaults (#42430)

This commit is contained in:
Keeley Hammond 2024-06-10 16:58:29 -05:00 committed by GitHub
parent 92de23bb3c
commit c4abaec56a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -158,7 +158,7 @@ def azput(prefix, key_prefix, files):
print(output)
def get_out_dir():
out_dir = 'Debug'
out_dir = 'Default'
override = os.environ.get('ELECTRON_OUT_DIR')
if override is not None:
out_dir = override

View file

@ -48,7 +48,7 @@ def main():
if args.verbose:
enable_verbose_mode()
if args.upload_to_storage:
utcnow = datetime.datetime.utcnow()
utcnow = datetime.datetime.now(datetime.UTC)
args.upload_timestamp = utcnow.strftime('%Y%m%d')
build_version = get_electron_build_version()