GeezerVison is showing github.com — doc: update security release prepare command · nodejs/node@9b92fdc
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/contributing/releases.md +9-3Lines changed: 9 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -377,22 +377,28 @@ git checkout -b v1.2.3-proposal upstream/v1.x-staging |
377 | 377 | You can also run: |
378 | 378 |
|
379 | 379 | ```bash |
380 | | -git node release -S --prepare --security=../vulnerabilities.json --filterLabel vX.x |
| 380 | +git node release -S --prepare --security=../security-release |
381 | 381 | ``` |
382 | 382 |
|
| 383 | +The `--security` flag takes the path to your clone of the `security-release` |
| 384 | +repository (or directly to a `vulnerabilities.json` file). The reports and |
| 385 | +dependency updates to cherry-pick are selected automatically from each entry's |
| 386 | +`affectedVersions` mapping for the release line you are on, and the matching |
| 387 | +`CVE-ID` trailers are added from the same file. |
| 388 | + |
383 | 389 | Example: |
384 | 390 |
|
385 | 391 | ```bash |
386 | 392 | git checkout v20.x |
387 | | -git node release -S --prepare --security=../vulnerabilities.json --filterLabel v20.x |
| 393 | +git node release -S --prepare --security=../security-release |
388 | 394 | ``` |
389 | 395 |
|
390 | 396 | to automate the remaining steps until step 6 or you can perform it manually |
391 | 397 | following the below steps. For semver-minors, you can pass the new version |
392 | 398 | explicitly with `--newVersion` arg: |
393 | 399 |
|
394 | 400 | ```bash |
395 | | -git node release -S --prepare --security=../vulnerabilities.json --filterLabel v20.x --newVersion 20.20.0 |
| 401 | +git node release -S --prepare --security=../security-release --newVersion 20.20.0 |
396 | 402 | ``` |
397 | 403 |
|
398 | 404 | <details> |
|