mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +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,
|
"windows": windows,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def pretty(o):
|
||||||
|
return json.dumps(o, indent=4, sort_keys=True, separators=(',', ':'))
|
||||||
|
|
||||||
def load_release_info():
|
def load_release_info():
|
||||||
with open("/tmp/wezterm.releases.json") as f:
|
with open("/tmp/wezterm.releases.json") as f:
|
||||||
release_info = json.load(f)
|
release_info = json.load(f)
|
||||||
@ -51,6 +54,9 @@ def load_release_info():
|
|||||||
latest = release_to_links(latest)
|
latest = release_to_links(latest)
|
||||||
nightly = release_to_links(nightly)
|
nightly = release_to_links(nightly)
|
||||||
|
|
||||||
|
print('latest: ', pretty(latest))
|
||||||
|
print('nightly: ', pretty(nightly))
|
||||||
|
|
||||||
subst = {}
|
subst = {}
|
||||||
for (kind, (url, name, dir)) in latest.items():
|
for (kind, (url, name, dir)) in latest.items():
|
||||||
subst["{{ %s_stable }}" % kind] = url
|
subst["{{ %s_stable }}" % kind] = url
|
||||||
|
Loading…
Reference in New Issue
Block a user