Commit b57ac9a
committed
fix(ci): add releaseRules to commit-analyzer to trigger releases for docs commits
The presetConfig.types only controls changelog visibility (hidden property),
not which commits trigger releases. Add explicit releaseRules to specify that
docs, refactor, perf, and other types should trigger patch releases.
Without releaseRules, semantic-release uses default rules which only trigger
releases for feat (minor) and fix (patch) commits. This caused docs commits
to be ignored for release purposes despite being properly formatted.
Refs: #13, #141 parent 60e7b56 commit b57ac9a
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
| |||
0 commit comments