dev channel: Apache serves /desktop/dev/latest.json; the VDS publisher lists releases without the draft filter (it hid the dev drafts)
This commit is contained in:
parent
9947ea1639
commit
29a9683ab7
2 changed files with 3 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ def main():
|
|||
fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
||||
except BlockingIOError:
|
||||
return
|
||||
rels = get(f"{FORGEJO}/api/v1/repos/{REPO}/releases?draft=true&limit=50")
|
||||
rels = get(f"{FORGEJO}/api/v1/repos/{REPO}/releases?limit=50")
|
||||
cands = [(r, r["tag_name"][4:]) for r in rels if r["tag_name"].startswith("dev-") and key(r["tag_name"][4:])]
|
||||
if not cands:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue