|
4 | 4 | [
|
5 | 5 | "@semantic-release/commit-analyzer",
|
6 | 6 | {
|
7 |
| - "preset": "conventionalcommits", |
8 | 7 | "releaseRules": [
|
9 | 8 | {
|
10 | 9 | "tag": "build",
|
|
59 | 58 | [
|
60 | 59 | "@semantic-release/release-notes-generator",
|
61 | 60 | {
|
62 |
| - "preset": "conventionalcommits", |
| 61 | + "presetConfig": { |
| 62 | + "types": [ |
| 63 | + { "type": "docs", "section": "Documentation" }, |
| 64 | + { "type": "style", "section": "Styles" }, |
| 65 | + { "type": "chore", "section": "Miscellaneous Chores" }, |
| 66 | + { "type": "refactor", "section": "Code Refactoring" }, |
| 67 | + { "type": "test", "section": "Tests" }, |
| 68 | + { "type": "build", "section": "Build System" }, |
| 69 | + { "type": "ci", "section": "Continuous Integration" } |
| 70 | + ] |
| 71 | + }, |
63 | 72 | "writerOpts": {
|
64 | 73 | "commitsSort": ["scope", "subject"]
|
65 | 74 | }
|
|
71 | 80 | "changelogTitle": "# Changelog"
|
72 | 81 | }
|
73 | 82 | ],
|
74 |
| - [ |
75 |
| - "@semantic-release/git", |
76 |
| - { |
77 |
| - "assets": ["CHANGELOG.md"], |
78 |
| - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
79 |
| - } |
80 |
| - ], |
| 83 | + "@semantic-release/git", |
81 | 84 | "@semantic-release/github"
|
82 |
| - ] |
| 85 | + ], |
| 86 | + "preset": "conventionalcommits" |
83 | 87 | }
|
0 commit comments