Skip to content

Commit ab26ec9

Browse files
committed
Add print of resulting json
1 parent e3ed213 commit ab26ec9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_scripts/get_release_info/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def main():
4646
for asset in assets:
4747
os_part = asset["name"].split("-")[2]
4848
os_name = map_os_names[os_part]
49-
print(f"{os_name}: {asset['downloadUrl']}")
50-
5149
size_mb = asset["size"] / 1024 / 1024
5250

5351
result[os_name] = {
@@ -56,6 +54,7 @@ def main():
5654
"size_mb": f"{size_mb:.2} MB"
5755
}
5856

57+
print(json.dumps(result, indent=4, ensure_ascii=False))
5958
output_file.write_text(json.dumps(result, indent=4, ensure_ascii=False))
6059

6160

0 commit comments

Comments
 (0)