chore: add logging for debugging release json (#37270)

* chore: add debug logging for JSON

* chore: better logging
This commit is contained in:
Keeley Hammond 2023-02-14 13:03:50 -08:00 committed by GitHub
parent 8eee4f2df1
commit fe7c535a3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,6 +384,9 @@ def get_release(version):
script_path = os.path.join(
ELECTRON_DIR, 'script', 'release', 'find-github-release.js')
release_info = execute(['node', script_path, version])
if is_verbose_mode():
print('Release info for version: {}:\n'.format(version))
print(release_info)
release = json.loads(release_info)
return release