semantic-release / commit-analyzer

:bulb: semantic-release plugin to analyze commits with conventional-changelog
MIT License
376 stars 74 forks source link

Allow custom function in `releaseRules` #627

Open jedwards1211 opened 6 months ago

jedwards1211 commented 6 months ago

There have been many JS tools that created some kind of static configuration DSL, and those DSLs always end up being janky to work with. Which is why so many tools have ended up allowing configuration to live in .js.

Since semantic-release already allows a .js config file, it's strange that releaseRules doesn't accept a custom function already.

But if it did it would be a better workaround for the lingering issues in #122.