@@ -32,6 +32,7 @@ official release builds for Node.js, hosted on <https://nodejs.org/>.
32
32
* [ 17. Cleanup] ( #17-cleanup )
33
33
* [ 18. Announce] ( #18-announce )
34
34
* [ 19. Celebrate] ( #19-celebrate )
35
+ * [ LTS Releases] ( #lts-releases )
35
36
* [ Major Releases] ( #major-releases )
36
37
37
38
## Who can make a release?
@@ -672,6 +673,38 @@ Ping the IRC ops and the other [Partner Communities][] liaisons.
672
673
673
674
_ In whatever form you do this..._
674
675
676
+ ## LTS Releases
677
+
678
+ ### Marking a Release Line as LTS
679
+
680
+ To mark a release line as LTS, the following changes must be made to
681
+ ` src/node_version.h ` :
682
+
683
+ * The ` NODE_MINOR_VERSION ` macro must be incremented by one
684
+ * The ` NODE_PATCH_VERSION ` macro must be set to ` 0 `
685
+ * The ` NODE_VERSION_IS_LTS ` macro must be set to ` 1 `
686
+ * The ` NODE_VERSION_LTS_CODENAME ` macro must be set to the codename selected
687
+ for the LTS release.
688
+
689
+ For example:
690
+
691
+ ``` diff
692
+ - #define NODE_MINOR_VERSION 12
693
+ - #define NODE_PATCH_VERSION 1
694
+ + #define NODE_MINOR_VERSION 13
695
+ + #define NODE_PATCH_VERSION 0
696
+
697
+ - #define NODE_VERSION_IS_LTS 0
698
+ - #define NODE_VERSION_LTS_CODENAME ""
699
+ + #define NODE_VERSION_IS_LTS 1
700
+ + #define NODE_VERSION_LTS_CODENAME "Erbium"
701
+
702
+ - #define NODE_VERSION_IS_RELEASE 0
703
+ + #define NODE_VERSION_IS_RELEASE 1
704
+ ```
705
+
706
+ The changes must be made as part of a new semver-minor release.
707
+
675
708
## Major Releases
676
709
677
710
The process for cutting a new Node.js major release has a number of differences
0 commit comments