diff --git a/.releaserc.json b/.releaserc.json index e69de29..be76f10 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -0,0 +1,27 @@ +{ + "branches": [ + "main", + { "name": "release", "prerelease": false }, + { "name": "dev", "prerelease": true }, + { "name": "development", "prerelease": true } + ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/changelog", + [ + "@semantic-release/npm", + { + "npmPublish": false + } + ], + [ + "@semantic-release/git", + { + "assets": ["package.json", "package-lock.json", "CHANGELOG.md"], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ], + ["@semantic-release/github", { "successComment": false, "releasedLabels": ["released"] }] + ] +}