Skip to content

Commit b5498ed

Browse files
richardlautargos
authored andcommitted
doc,meta: codify security release commit message
The release commit message for security releases have conventionally started with the phrase `This is a security release.`. Codify this as part of the release process so that the distribution indexer can use this to detect and mark releases as security releases. Fixes: nodejs/Release#437 Refs: #27612 (comment) Refs: nodejs/nodejs-dist-indexer#9 PR-URL: #27643 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 4dbebfd commit b5498ed

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/releases.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,21 @@ Notable changes:
345345
* Copy the notable changes list here, reformatted for plain-text
346346
```
347347

348+
For security releases, begin the commit message with the phrase
349+
`This is a security release.` to allow the
350+
[distribution indexer](https://github.com/nodejs/nodejs-dist-indexer) to
351+
identify it as such:
352+
353+
```txt
354+
YYYY-MM-DD, Version x.y.z (Release Type)
355+
356+
This is a security release.
357+
358+
Notable changes:
359+
360+
* Copy the notable changes list here, reformatted for plain-text
361+
```
362+
348363
### 6. Propose Release on GitHub
349364

350365
Push the release branch to `nodejs/node`, not to your own fork. This allows

0 commit comments

Comments
 (0)