commit-analyzer icon indicating copy to clipboard operation
commit-analyzer copied to clipboard

Allow limiting release type <= type

Open jpoehnelt opened this issue 5 years ago • 0 comments

I have a package which is based upon a parent package. If parent is x.y.z and the child package is a.b.c, I would like to enforce x.y == a.b. I believe I can do this by overriding all of the default rules with:

{type: 'feat', release: 'patch'},
{type: 'fix', release: 'patch'},
...
{tag: 'Breaking', release: 'patch'},

However this is fragile and depends on overriding all default rules. I propose a maxReleaseType or similar configuration option.

jpoehnelt avatar Nov 16 '20 18:11 jpoehnelt