summaryrefslogtreecommitdiffstats
path: root/build-scripts
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-12-31 15:50:15 +0100
committerJay Berkenbilt <ejb@ql.org>2022-12-31 15:50:15 +0100
commitdab48544d23737079cdebe514e3df4aa6d4792e9 (patch)
treea92877d5f0fdf38df579877eca01607c40e3a2c9 /build-scripts
parent6cbc55a5b5ac4a1c44906ed9dd9ad5c50cd93ea1 (diff)
downloadqpdf-dab48544d23737079cdebe514e3df4aa6d4792e9.tar.zst
Diagnose CI failure on download-external-libs
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/download-external-libs7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-scripts/download-external-libs b/build-scripts/download-external-libs
index 5e57a8a1..5c437c23 100755
--- a/build-scripts/download-external-libs
+++ b/build-scripts/download-external-libs
@@ -33,6 +33,13 @@ os.makedirs(dir_name, exist_ok=True)
r = requests.get(
'https://api.github.com/repos/qpdf/external-libs/releases')
releases = json.loads(r.text)
+
+# Help diagnose occasional failure where some releases don't have
+# 'prerelease'. I've never seen this in attempts to reproduce.
+print("---- github API output for external-libs releaes ----")
+print(json.dumps(releases, indent=2, separators=(',', ': ')))
+print("--------")
+
by_tag = sorted(
[(r['tag_name'], r) for r in releases
if r['prerelease'] is False],