It is possible to define additional files for a license check via parameters:
|
npm run release patch -- --license "**/LICENSE" "packages/*/README.md" |
It would be awesome to define those files / patterns also in the .releaseconfig.json (like versionFiles):
|
{ |
|
"versionFiles": [ |
|
// Match `>Version: VERSION<` in html files in the widget folder |
|
// and replace VERSION with the new version |
|
["widget/*.html", "(?<=\\>Version: )(.*?)(?=<)"], |
|
// Check all files in the template folder and its subdirectories |
|
["templates/**/*.*", [ |
|
// Match `"version": "VERSION",` and replace VERSION with the new version |
|
"(?<=\"version\": \")(.*?)(?=\",)", |
|
// Match `Version: "VERSION"` and replace VERSION with the new version |
|
"(?<=Version: \")(.*?)(?=\")" |
|
]] |
|
] |
|
} |
It is possible to define additional files for a license check via parameters:
release-script/README.md
Line 467 in e9b895a
It would be awesome to define those files / patterns also in the
.releaseconfig.json(like versionFiles):release-script/README.md
Lines 363 to 376 in e9b895a