我还想分析一些自定义类型的提交。如下所示:
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [{
"type": "chore",
"release": "patch"
}, {
"type": "test-fix",
"release": "patch"
}, {
"type": "test-feat",
"release": "minor"
}]
}
]
有没有办法像上面那样做?例如:
test-fix: Testing semantic commit analyzer
,这个提交应该触发补丁发布。