|
| 1 | +{ |
| 2 | + "repositoryUrl": "https://github.com/zdharma-continuum/zinit.git", |
| 3 | + "plugins": [ |
| 4 | + [ |
| 5 | + "@semantic-release/commit-analyzer", |
| 6 | + { |
| 7 | + "preset": "eslint", |
| 8 | + "releaseRules": [ |
| 9 | + { "tag": "chore", "release": "patch" }, |
| 10 | + { "tag": "ci", "release": "false" }, |
| 11 | + { "tag": "docs", "release": "patch" }, |
| 12 | + { "tag": "fix", "release": "patch" }, |
| 13 | + { "tag": "feat", "release": "minor" }, |
| 14 | + { "tag": "maint", "release": "patch" }, |
| 15 | + { "tag": "new", "release": "minor" }, |
| 16 | + { "tag": "style", "release": "patch" }, |
| 17 | + { "tag": "refactor", "release": "major" }, |
| 18 | + { "tag": "update", "release": "minor" } |
| 19 | + ] |
| 20 | + } |
| 21 | + ], |
| 22 | + ["@google/semantic-release-replace-plugin", { |
| 23 | + "replacements": [ |
| 24 | + { |
| 25 | + "files": ["VERSION"], |
| 26 | + "from": "^([0-9]).+([0-9]).+([0-9])$", |
| 27 | + "to": "${nextRelease.version}", |
| 28 | + "results": [ { "file": "VERSION", "hasChanged": true } |
| 29 | + ] |
| 30 | + } |
| 31 | + ] |
| 32 | + } |
| 33 | + ], |
| 34 | + ["@semantic-release/release-notes-generator", { "preset": "eslint" }], |
| 35 | + ["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" } ], |
| 36 | + ["@semantic-release/git", { |
| 37 | + "assets": ["CHANGELOG.md", "VERSION"], |
| 38 | + "message": "release: v${lastRelease.version} → v${nextRelease.version}\n\n${nextRelease.notes}" |
| 39 | + } |
| 40 | + ], |
| 41 | + "@semantic-release/github" |
| 42 | + ] |
| 43 | +} |
0 commit comments