From 8855bb0692f816e75b3f5d0b5ca7a87c9edb6de6 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Tue, 18 Oct 2022 10:29:38 -0400 Subject: [PATCH] doc: lts version update note on the release guide Signed-off-by: Ruy Adorno --- doc/contributing/releases.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index 4e7ac323d233e6..6c035463b13a99 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -721,6 +721,23 @@ Revert all changes that were made to `src/node_version.h`: $ git checkout --ours HEAD -- src/node_version.h ``` +
+LTS + +On the main branch, instead of reverting changes made to `src/node_version.h` edit it instead and: + +* Increment `NODE_MAJOR_VERSION` by one +* Reset `NODE_PATCH_VERSION` to `0` +* Change `NODE_VERSION_IS_RELEASE` back to `0` + +Amend the current commit to apply the changes: + +``` +$ git commit --amend +``` + +
+ Even if there are no conflicts, ensure that you revert all the changes that were made to `src/node_version.h`.