Skip to content

Add licenseNames to .releaseconfig.json (like versionFiles) #151

@klein0r

Description

@klein0r

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):

release-script/README.md

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions