Skip to content

Commit 8855bb0

Browse files
committed
doc: lts version update note on the release guide
Signed-off-by: Ruy Adorno <[email protected]>
1 parent 90044f5 commit 8855bb0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/contributing/releases.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,23 @@ Revert all changes that were made to `src/node_version.h`:
721721
$ git checkout --ours HEAD -- src/node_version.h
722722
```
723723

724+
<details>
725+
<summary>LTS</summary>
726+
727+
On the main branch, instead of reverting changes made to `src/node_version.h` edit it instead and:
728+
729+
* Increment `NODE_MAJOR_VERSION` by one
730+
* Reset `NODE_PATCH_VERSION` to `0`
731+
* Change `NODE_VERSION_IS_RELEASE` back to `0`
732+
733+
Amend the current commit to apply the changes:
734+
735+
```
736+
$ git commit --amend
737+
```
738+
739+
</details>
740+
724741
Even if there are no conflicts, ensure that you revert all the changes that were
725742
made to `src/node_version.h`.
726743

0 commit comments

Comments
 (0)