mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
add debug output for the pages builder
This sometimes fails and I think it is because of a race with one of the jobs that uploads an artifact
This commit is contained in:
parent
ad2f724416
commit
b722dd178f
@ -37,6 +37,9 @@ def release_to_links(rel):
|
||||
"windows": windows,
|
||||
}
|
||||
|
||||
def pretty(o):
|
||||
return json.dumps(o, indent=4, sort_keys=True, separators=(',', ':'))
|
||||
|
||||
def load_release_info():
|
||||
with open("/tmp/wezterm.releases.json") as f:
|
||||
release_info = json.load(f)
|
||||
@ -51,6 +54,9 @@ def load_release_info():
|
||||
latest = release_to_links(latest)
|
||||
nightly = release_to_links(nightly)
|
||||
|
||||
print('latest: ', pretty(latest))
|
||||
print('nightly: ', pretty(nightly))
|
||||
|
||||
subst = {}
|
||||
for (kind, (url, name, dir)) in latest.items():
|
||||
subst["{{ %s_stable }}" % kind] = url
|
||||
|
Loading…
Reference in New Issue
Block a user