From 39d36e4462a0b84c469c72ddcfcf5c426a58482d Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 31 Oct 2023 17:05:16 -0400 Subject: [PATCH] build: actually show github upload output if verbose is true. (#40393) * build: actually show github upload output if verbose is true. * chore: fixup lint --- script/release/uploaders/upload.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/release/uploaders/upload.py b/script/release/uploaders/upload.py index 96e195f49722..641f8ae6f240 100755 --- a/script/release/uploaders/upload.py +++ b/script/release/uploaders/upload.py @@ -363,8 +363,10 @@ def upload_io_to_github(release, filename, filepath, version): (filename)) script_path = os.path.join( ELECTRON_DIR, 'script', 'release', 'uploaders', 'upload-to-github.ts') - execute([TS_NODE, script_path, filepath, filename, str(release['id']), - version]) + upload_gh_output = execute([TS_NODE, script_path, filepath, filename, + str(release['id']), version]) + if is_verbose_mode(): + print(upload_gh_output) def upload_sha256_checksum(version, file_path, key_prefix=None):