Skip to content

Fix the promote's outgoing-major detection - #5

Merged
lorisleiva merged 1 commit into
mainfrom
fix/promote-outgoing-major
Aug 28, 2026
Merged

Fix the promote's outgoing-major detection#5
lorisleiva merged 1 commit into
mainfrom
fix/promote-outgoing-major

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

Fourth rehearsal finding: main's package.json only carries the next major once a version PR has merged (as a pre-release); before the first rc lands — including the fast-track path — it still carries the outgoing major itself. The promote computed outgoing = major - 1 unconditionally and went looking for 0.x. It now subtracts one only when the current version is a pre-release, and words its commit/summary around the actual stable major.

@lorisleiva
lorisleiva merged commit bcf6c61 into main Aug 28, 2026
@lorisleiva
lorisleiva deleted the fix/promote-outgoing-major branch August 28, 2026 11:38
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