Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update mark release line lts on release guide #45101

Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 36 additions & 0 deletions doc/contributing/releases.md
Expand Up @@ -941,6 +941,30 @@ _In whatever form you do this..._

### Marking a release line as LTS

The process of marking a release line as LTS has been automated using
[node-core-utils](https://github.com/nodejs/node-core-utils).

Start by checking out the staging branch for the release line that is going to
be marked as LTS, e.g:

```console
$ git checkout v1.x-staging
```

Next, make sure you have **node-core-utils** installed:

```console
$ npm i -g node-core-utils
```

Run the prepare LTS release command:

```console
$ git node release --prepare --startLTS
```

<details>
<summary>Manual steps for reference.</summary>
ruyadorno marked this conversation as resolved.
Show resolved Hide resolved
To mark a release line as LTS, the following changes must be made to
`src/node_version.h`:

Expand Down Expand Up @@ -969,6 +993,18 @@ For example:

The changes must be made as part of a new semver-minor release.

Updating changelogs to properly reflect the changes between **Current** and
**Long Term Support** is also necessary, along with adding a reference to the
current LTS codename in its release line changelog file.

The `test/parallel/test-process-release.js` file might also need to be updated.

In case you can not run the automated `node-core-utils` command and you are
currently running these steps manually it's a good idea to refer to previous
LTS proposal PRs and make sure all required changes are covered.

</details>

### Update release labels

The `lts-watch-vN.x` issue label must be created, with the same color as other
Expand Down