|
| 1 | +{ |
| 2 | + "branches": ["main"], |
| 3 | + "plugins": [ |
| 4 | + [ |
| 5 | + "@semantic-release/commit-analyzer", |
| 6 | + { |
| 7 | + "preset": "conventionalcommits", |
| 8 | + "releaseRules": [ |
| 9 | + { "type": "build", "release": false }, |
| 10 | + { "type": "ci", "release": false }, |
| 11 | + { "type": "docs", "release": false }, |
| 12 | + { "type": "feat", "release": "minor" }, |
| 13 | + { "type": "fix", "release": "patch" }, |
| 14 | + { "type": "patch", "release": "patch" } |
| 15 | + ] |
| 16 | + } |
| 17 | + ], |
| 18 | + [ |
| 19 | + "@semantic-release/release-notes-generator", |
| 20 | + { |
| 21 | + "preset": "conventionalcommits", |
| 22 | + "presetConfig": { |
| 23 | + "types": [ |
| 24 | + { "type": "build", "hidden": true }, |
| 25 | + { "type": "ci", "hidden": true }, |
| 26 | + { "type": "docs", "hidden": true }, |
| 27 | + { "type": "feat", "section": "Added" }, |
| 28 | + { "type": "patch", "section": "Changed" }, |
| 29 | + { "type": "fix", "section": "Fixed" } |
| 30 | + ] |
| 31 | + } |
| 32 | + } |
| 33 | + ], |
| 34 | + ["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }], |
| 35 | + "@semantic-release/npm", |
| 36 | + [ |
| 37 | + "@semantic-release/git", |
| 38 | + { |
| 39 | + "assets": ["package.json", "package-lock.json", "CHANGELOG.md"], |
| 40 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 41 | + } |
| 42 | + ], |
| 43 | + [ |
| 44 | + "@semantic-release/gitlab", |
| 45 | + { |
| 46 | + "gitlabUrl": "https://gitlab.com", |
| 47 | + "assets": [{ "path": "CHANGELOG.md" }] |
| 48 | + } |
| 49 | + ] |
| 50 | + ] |
| 51 | +} |
0 commit comments