fix: include beta releases in wiki Downloads publish - #349
Open
bh679 wants to merge 1 commit into
Open
Conversation
publish-wiki.sh filtered `prerelease==false`, but every Dungeon Train release is a pre-1.0 beta (prerelease=true), so the filter matched 0 releases and the wiki Downloads page silently froze at v0.73.0 (2026-04-27). Drop the prerelease condition (keep draft==false) so betas are listed. The Downloads page now tracks the latest beta and the Archive lists recent releases. Already republished the wiki for v0.281.0 via the script's local-test mode. Dev PATCH bump 0.281.0 -> 0.281.1. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The v0.281.0 release's "Publish wiki Downloads pages" step skipped with "No published releases found", leaving the wiki Downloads page frozen at v0.73.0 (2026-04-27).
Root cause:
scripts/publish-wiki.shfiltered releases withselect(.draft==false and .prerelease==false). Every Dungeon Train release is a pre-1.0 beta (release.ymlmarks any pre-1.0 tagprerelease: true), so the filter matched 0 releases on every run.Change
One line in
scripts/publish-wiki.sh— drop theprerelease==falsecondition (keepdraft==false):Plus dev PATCH bump
mod_version0.281.0 → 0.281.1.Already done (out-of-band)
Republished the wiki for v0.281.0 via the script's documented local-test mode, so the page is already current — Downloads shows v0.281.0; Archive lists the newest 100 betas. This PR makes it automatic on every future release.
Known limitation (pre-existing)
gh apiusesper_page=100with no pagination → the Archive lists the newest 100 releases (older betas, incl. v0.73.0, fall off). The "latest" Downloads page is always correct. Full-history pagination (--paginate | jq -s) is a possible follow-up.Test plan
scripts/publish-wiki.shlocally (RELEASE_TAG=v0.281.0) → committedDownloads.md+Downloads-Archive.mdto the wiki (commit 809cf05).🤖 Generated with Claude Code