|
3 | 3 |
|
4 | 4 | "plugins": [ |
5 | 5 | ["@semantic-release/commit-analyzer", { |
| 6 | + "preset": "angular", |
6 | 7 | "releaseRules": [ |
7 | 8 | { "type": "refactor", "release": "patch" }, |
8 | | - { "type": "perf", "release": "patch" } |
9 | | - ] |
| 9 | + { "type": "perf", "release": "patch" }, |
| 10 | + { "type": "feat", "release": "minor" }, |
| 11 | + { "type": "fix", "release": "patch" } |
| 12 | + ], |
| 13 | + "parserOpts": { |
| 14 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] |
| 15 | + } |
10 | 16 | }], |
11 | 17 | ["@semantic-release/release-notes-generator", { |
| 18 | + "preset": "angular", |
12 | 19 | "presetConfig": { |
13 | 20 | "types": [ |
| 21 | + { "type": "feat", "section": "Features", "hidden": false }, |
| 22 | + { "type": "fix", "section": "Bug Fixes", "hidden": false }, |
14 | 23 | { "type": "refactor", "section": "Refactors", "hidden": false }, |
15 | | - { "type": "perf", "section": "Performance Improvements", "hidden": false } |
| 24 | + { "type": "perf", "section": "Performance Improvements", "hidden": false }, |
| 25 | + { "type": "docs", "section": "Documentation", "hidden": false }, |
| 26 | + { "type": "build", "section": "Bumps", "hidden": false }, |
| 27 | + { "type": "chore", "hidden": true }, |
| 28 | + { "type": "style", "hidden": true }, |
| 29 | + { "type": "test", "hidden": true } |
16 | 30 | ] |
| 31 | + }, |
| 32 | + "parserOpts": { |
| 33 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] |
| 34 | + }, |
| 35 | + "writerOpts": { |
| 36 | + "commitsSort": ["subject", "scope"] |
17 | 37 | } |
18 | 38 | }], |
19 | 39 | ["semantic-release-plugin-csproj", { |
|
22 | 42 | "@semantic-release/changelog", |
23 | 43 | "@semantic-release/github", |
24 | 44 | ["@semantic-release/git", { |
25 | | - "path": "@semantic-release/git", |
26 | 45 | "assets": [ |
27 | 46 | "CHANGELOG.md", |
28 | | - "src/**.csproj" |
| 47 | + "src/**/*.csproj" |
29 | 48 | ], |
30 | | - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 49 | + "message": "chore(release): ${nextRelease.version} [skip ci]" |
31 | 50 | }] |
32 | 51 | ] |
33 | 52 | } |
0 commit comments