|
| 1 | +{ |
| 2 | + "branches": ["master"], |
| 3 | + "plugins": [ |
| 4 | + ["@semantic-release/commit-analyzer", { |
| 5 | + "preset": "conventionalcommits", |
| 6 | + "parserOpts": { |
| 7 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] |
| 8 | + }, |
| 9 | + "presetConfig": { |
| 10 | + "types": [ |
| 11 | + {"type": "feat", "section": "Features"}, |
| 12 | + {"type": "fix", "section": "Bug Fixes"}, |
| 13 | + {"type": "chore", "section": "Maintenance"}, |
| 14 | + {"type": "docs", "section": "Maintenance"}, |
| 15 | + {"type": "revert", "section": "Bug Fixes"}, |
| 16 | + {"type": "style", "hidden": true}, |
| 17 | + {"type": "refactor", "hidden": true}, |
| 18 | + {"type": "perf", "hidden": true}, |
| 19 | + {"type": "test", "hidden": true} |
| 20 | + ] |
| 21 | + } |
| 22 | + }], |
| 23 | + ["@semantic-release/release-notes-generator", { |
| 24 | + "preset": "conventionalcommits", |
| 25 | + "parserOpts": { |
| 26 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] |
| 27 | + }, |
| 28 | + "presetConfig": { |
| 29 | + "types": [ |
| 30 | + {"type": "feat", "section": "Features"}, |
| 31 | + {"type": "fix", "section": "Bug Fixes"}, |
| 32 | + {"type": "chore", "section": "Maintenance"}, |
| 33 | + {"type": "docs", "section": "Maintenance"}, |
| 34 | + {"type": "revert", "section": "Bug Fixes"}, |
| 35 | + {"type": "style", "hidden": true}, |
| 36 | + {"type": "refactor", "hidden": true}, |
| 37 | + {"type": "perf", "hidden": true}, |
| 38 | + {"type": "test", "hidden": true} |
| 39 | + ] |
| 40 | + } |
| 41 | + }], |
| 42 | + ["@semantic-release/changelog", { |
| 43 | + "changelogFile": "./CHANGELOG.md" |
| 44 | + }], |
| 45 | + ["@semantic-release/git", { |
| 46 | + "assets": ["./CHANGELOG.md"], |
| 47 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 48 | + }], |
| 49 | + "@semantic-release/github" |
| 50 | + ], |
| 51 | + "repositoryUrl": "https://github.com/josecorella/test-semantic-release-pr", |
| 52 | +} |
0 commit comments