BMAD-METHOD/.github/workflows
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
..
coderabbit-review.yaml fix: use pull_request_target for CodeRabbit review trigger (#1583) 2026-02-07 10:27:57 -06:00
discord.yaml project licence, contribution and discord noise updates, along with improved simplified issue templates 2026-01-18 17:03:47 -06:00
docs.yaml fix(docs): comprehensive documentation site review fixes (#1578) 2026-02-08 11:58:22 -06:00
publish.yaml ci(publish): cut follow-on prerelease after stable to keep @next ahead 2026-04-26 04:27:46 -04:00
quality.yaml ci: add validate:skills to GitHub quality workflow 2026-03-18 14:38:09 -06:00