Skip to content

Commit 0a2340d

Browse files
doc: remove section for marking release LTS (#531)
This documentation was moved to Releases.md in nodejs/node#31724 Refs: nodejs/node#31724
1 parent ae09392 commit 0a2340d

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

README.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -133,37 +133,9 @@ codenames is available in [CODENAMES.md](./CODENAMES.md).
133133

134134
An odd-numbered major release will cease to be actively updated when the subsequent
135135
even-numbered major release is cut. Depending on circumstances the project may
136-
decide to provide an update to the odd-numbered release after the cutoff. However,
136+
decide to provide an update to the odd-numbered release after the cutoff. However,
137137
there is no guarantee that any release will be made.
138138

139-
#### Marking a Release Line As LTS
140-
141-
To mark a release line as LTS, the following changes must be made to `src/node_version.h`:
142-
143-
* The `NODE_MINOR_VERSION` macro must be incremented by one
144-
* The `NODE_PATCH_VERSION` macro must be set to `0`
145-
* The `NODE_VERSION_IS_LTS` macro must be set to `1`
146-
* The `NODE_VERSION_LTS_CODENAME` macro must be set to the codename selected for the LTS release.
147-
148-
For example:
149-
150-
```diff
151-
-#define NODE_MINOR_VERSION 12
152-
-#define NODE_PATCH_VERSION 1
153-
+#define NODE_MINOR_VERSION 13
154-
+#define NODE_PATCH_VERSION 0
155-
156-
-#define NODE_VERSION_IS_LTS 0
157-
-#define NODE_VERSION_LTS_CODENAME ""
158-
+#define NODE_VERSION_IS_LTS 1
159-
+#define NODE_VERSION_LTS_CODENAME "Erbium"
160-
161-
-#define NODE_VERSION_IS_RELEASE 0
162-
+#define NODE_VERSION_IS_RELEASE 1
163-
```
164-
165-
The changes must be made as part of a new semver-minor release.
166-
167139
### LTS Staging Branches
168140

169141
Every LTS major version has two branches in the GitHub repository: a release

0 commit comments

Comments
 (0)