Skip to content

fix: include beta releases in wiki Downloads publish - #349

Open
bh679 wants to merge 1 commit into
mainfrom
claude/wiki-downloads-include-betas
Open

fix: include beta releases in wiki Downloads publish#349
bh679 wants to merge 1 commit into
mainfrom
claude/wiki-downloads-include-betas

Conversation

@bh679

@bh679 bh679 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

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.sh filtered releases with select(.draft==false and .prerelease==false). Every Dungeon Train release is a pre-1.0 beta (release.yml marks any pre-1.0 tag prerelease: true), so the filter matched 0 releases on every run.

Change

One line in scripts/publish-wiki.sh — drop the prerelease==false condition (keep draft==false):

-  --jq '[.[] | select(.draft==false and .prerelease==false)]' \
+  --jq '[.[] | select(.draft==false)]' \

Plus dev PATCH bump mod_version 0.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 api uses per_page=100 with 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

  • Ran scripts/publish-wiki.sh locally (RELEASE_TAG=v0.281.0) → committed Downloads.md + Downloads-Archive.md to the wiki (commit 809cf05).
  • Verified via raw URL: Downloads → "Latest release: v0.281.0"; Archive → 100 rows, v0.281.0 at top.
  • No mod code / deps / save-format touched — CI-tooling only.

🤖 Generated with Claude Code

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant