BMAD-METHOD/.github
Sallvainian cb95eb5a07
ci(publish): cut follow-on prerelease after stable to keep @next ahead
When a stable release is cut via workflow_dispatch with channel=latest,
@latest can leapfrog the current @next head. Without a corresponding
prerelease publish, the @next dist-tag is left pointing at an older
version, which turns `npx bmad-method@next install` into a downgrade.

This is the root cause of #2317: @latest=6.5.0 but @next=6.4.1-next.0,
so users running `npx bmad-method@next install` get the older code
written over the newer.

Add a final step in the latest-channel branch that derives the next
prerelease (max(@next-stripped, @latest) bumped to -next.0) and
publishes it with --tag next, reusing the proven `npm publish
--provenance` flow rather than mutating dist-tags directly. Runs after
the GitHub Release and Discord notify steps so they still see the
stable version in package.json.

Refs #2317

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 04:27:46 -04:00
..
ISSUE_TEMPLATE fix: correct docs domain to docs.bmad-method.org (#1777) 2026-02-27 13:03:16 -06:00
scripts chore(discord): suppress link embeds and handle truncated URLs (#1126) 2025-12-15 07:19:44 +08:00
workflows ci(publish): cut follow-on prerelease after stable to keep @next ahead 2026-04-26 04:27:46 -04:00
CODE_OF_CONDUCT.md moved code of conduct to github folder, readme links to it 2025-12-07 14:55:44 -06:00
FUNDING.yaml feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
PULL_REQUEST_TEMPLATE.md docs: add pull request template (#1554) 2026-02-06 07:29:19 -06:00