-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
It is possible to define additional files for a license check via parameters:
Line 467 in e9b895a
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):
Lines 363 to 376 in e9b895a
{ | |
"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: \")(.*?)(?=\")" | |
]] | |
] | |
} |
Metadata
Metadata
Assignees
Labels
No labels