@@ -430,6 +430,7 @@ already defined in `src/node_version.h`:
430430#define NODE_PATCH_VERSION z
431431
432432// And for alpha releases:
433+ #define NODE_VERSION_IS_ALPHA 1
433434#define NODE_ALPHA_MAJOR_VERSION a
434435#define NODE_ALPHA_MINOR_VERSION b
435436#define NODE_ALPHA_PATCH_VERSION c
@@ -445,8 +446,7 @@ be produced with a version string that does not have a trailing pre-release tag:
445446<details>
446447<summary>Major version release</summary>
447448
448- Remove the `NODE_ALPHA_MAJOR_VERSION `, `NODE_ALPHA_MINOR_VERSION `, and
449- `NODE_ALPHA_PATCH_VERSION ` macros.
449+ Set the `NODE_VERSION_IS_ALPHA ` macro value to `0 `.
450450
451451</details>
452452
@@ -989,9 +989,9 @@ edit it instead and:
989989
990990* Increment ` NODE_MAJOR_VERSION ` by one.
991991* Reset ` NODE_PATCH_VERSION ` and ` NODE_MINOR_VERSION ` to ` 0 ` .
992- * Set ` NODE_ALPHA_MAJOR_VERSION ` , ` NODE_ALPHA_MINOR_VERSION ` , and
993- ` NODE_ALPHA_PATCH_VERSION ` back to ` 0 ` ( ` main ` should already have this, the
994- release commit will have them removed ).
992+ * Set ` NODE_VERSION_IS_ALPHA ` , ` NODE_ALPHA_MAJOR_VERSION ` ,
993+ ` NODE_ALPHA_MINOR_VERSION ` , and ` NODE_ALPHA_PATCH_VERSION ` back to ` 0 `
994+ ( ` main ` should already have this ).
995995* Change ` NODE_VERSION_IS_RELEASE ` back to ` 0 ` .
996996
997997Amend the current commit to apply the changes:
@@ -1532,8 +1532,7 @@ in the next major release line.
15321532To mark a release line as stable, the following changes must be made to
15331533` src/node_version.h ` :
15341534
1535- * Remove ` NODE_ALPHA_MAJOR_VERSION ` , ` NODE_ALPHA_MINOR_VERSION ` , and
1536- ` NODE_ALPHA_PATCH_VERSION ` .
1535+ * Set ` NODE_VERSION_IS_ALPHA ` to ` 0 ` .
15371536
15381537#### Generate the notable changes
15391538
0 commit comments