semantic-release / commit-analyzer

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

Is it possible to give custom type in the configuration? #271

Open LakshmiRavali opened 2 years ago

LakshmiRavali commented 2 years ago

I want to analyze some custom-type commits also. Something like below: [ "@semantic-release/commit-analyzer", { "preset": "angular", "releaseRules": [{ "type": "chore", "release": "patch" }, { "type": "test-fix", "release": "patch" }, { "type": "test-feat", "release": "minor" }] } ] Is there any way to do like above? For example: test-fix: Testing semantic commit analyzer, this commit should trigger the patch release.

Carus11 commented 2 years ago

I am stumbling through the customization phase of getting used to this project myself, but an example I am looking at that is helping a lot is this guys: https://github.com/ahmadnassri/node-api-problem/blob/master/.semantic.json