Repository navigation
fix: keep prerelease channels separate in the release plan - #636
Conversation
The release plan picked the highest tag in the version line, so the 11.0.0-nitro-v1.N tags from release/nitro-v1 became the baseline on main. An exact 11.0.0-alpha.1 failed the increasing-version check and prerelease produced 11.0.0-nitro-v1.3. Prerelease tags now count only for their own channel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
On
main, the release plan picks its baseline from every tag in the11.0line, including thev11.0.0-nitro-v1.*tags onrelease/nitro-v1. Becausenitro-v1sorts afteralpha, the baseline is11.0.0-nitro-v1.2. An exact11.0.0-alpha.1fails the increasing-version check, andprereleaseproduces11.0.0-nitro-v1.3, which would publish to thenitro-v1channel.Prerelease tags now count only for their own channel: the channel of the checked-out version, plus the channel of an exact version when one is given. Stable tags still count for every channel, so sibling patch releases keep preventing reuse. On
main, both11.0.0-alpha.1andprereleasenow resolve to11.0.0-alpha.1fromv11.0.0-alpha.0, andrelease/nitro-v1still resolvesprereleaseto11.0.0-nitro-v1.3.The release docs now also describe how
minorandmajorbehave on a prerelease with a nonzero minor or patch number, as CodeRabbit pointed out in #621. The code already follows semver there, and a test now covers it.🤖 Generated with Claude Code
Summary by CodeRabbit