Skip to content

fix(release): bump.mjs keeps ROADMAP's Now marker in sync#54

Merged
CodeWithJuber merged 1 commit into
masterfrom
fix/bump-roadmap-sync
Jul 11, 2026
Merged

fix(release): bump.mjs keeps ROADMAP's Now marker in sync#54
CodeWithJuber merged 1 commit into
masterfrom
fix/bump-roadmap-sync

Conversation

@CodeWithJuber

Copy link
Copy Markdown
Owner

Summary

  • scripts/bump.mjs's applyBump() bumps package.json, CHANGELOG.md, CITATION.cff, etc. on every release, but never touched ROADMAP.md's ## Now version marker — so forge docs check's roadmap-freshness guard went stale immediately after the release that should have satisfied it. This caused the exact CI failures fixed in docs(research): formal synthesis paper unifying substrate + e2e framework #52/fix(pages): don't let empty Unreleased section blank the status page changelog #53 (twice, for v0.12.0 and v0.12.1).
  • Adds a pure bumpRoadmapNow(roadmap, newVersion) helper that rewrites only the ## Now (...) line's version, leaving every other version mention in the doc (e.g. v0.5.0 under "Shipped") untouched. Wired into applyBump().
  • Also corrects the current drift on master: ROADMAP said v0.12.1, package.json is already v0.12.2forge docs check was failing on master before this fix.

Test plan

  • node --test test/bump.test.js — 25/25 pass, including 2 new tests for bumpRoadmapNow (updates only the Now line; no-op when no Now heading) and updated applyBump fixture assertions covering ROADMAP.md
  • npm test — 659/660 pass (1 pre-existing unrelated flake, reproduces identically on master without this change)
  • npx biome check — clean
  • npm run typecheck — clean
  • node src/cli.js docs check — clean (was failing before this change)

🤖 Generated with Claude Code

Every auto-release bumped package.json/CHANGELOG/etc. but left ROADMAP.md's
"## Now" version marker untouched, so `forge docs check`'s roadmap-freshness
guard went stale after the very release that should have satisfied it —
requiring a manual follow-up fix each time (as just happened twice, for
v0.12.0 and v0.12.1). applyBump() now rewrites just that one line via the
new bumpRoadmapNow(), leaving every other version mention in the doc alone.

Also corrects the current drift: ROADMAP said v0.12.1, package.json is
already v0.12.2, so `forge docs check` was failing on master.
@CodeWithJuber CodeWithJuber merged commit a0b2c94 into master Jul 11, 2026
11 checks passed
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