File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
377377You can also run:
378378
379379``` bash
380- git node release -S --prepare --security=../vulnerabilities.json --filterLabel vX.x
380+ git node release -S --prepare --security=../security-release
381381```
382382
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+
383389Example:
384390
385391``` bash
386392git checkout v20.x
387- git node release -S --prepare --security=../vulnerabilities.json --filterLabel v20.x
393+ git node release -S --prepare --security=../security-release
388394```
389395
390396to automate the remaining steps until step 6 or you can perform it manually
391397following the below steps. For semver-minors, you can pass the new version
392398explicitly with ` --newVersion ` arg:
393399
394400``` 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
396402```
397403
398404<details >
You can’t perform that action at this time.
0 commit comments