Repository navigation
Conversation
Node.js 27 introduces Alpha releases versioned as vN.0.0-alpha.X.Y.Z (see nodejs/node#63135). Teach `git node release` about them: - --prepare detects alpha release lines from the NODE_ALPHA_*_VERSION macros in src/node_version.h, computes the next alpha version from the semver labels of the commits, and accepts --newVersion=N.0.0-alpha.X.Y.Z. - When CHANGELOG_V{N}.md does not exist yet, --prepare creates it, updates the navigation of the other changelogs and the root CHANGELOG.md, and groups the commit list by semver-major, minor and patch. - --newVersion=N.0.0 on an alpha release line prepares the first stable release, removing the alpha macros and relabelling Alpha entries as Current. - --promote validates "(Alpha)" release commits, creates their GitHub releases as pre-releases, and, when promoting N.0.0, bumps main to N+1 with the alpha macros reset to 0. - Fix the "Working on" commit corrupting node_version.h when the patch version goes from 9 to 10. Refs: nodejs/Release#1187 Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1224 +/- ##
==========================================
+ Coverage 64.50% 64.79% +0.29%
==========================================
Files 65 66 +1
Lines 12300 13223 +923
==========================================
+ Hits 7934 8568 +634
- Misses 4366 4655 +289 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(release): support alpha releases