diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..a8f1a2c --- /dev/null +++ b/.releaserc @@ -0,0 +1,44 @@ +{ + "branches": [ + "main" + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { + "type": "docs", + "scope": "README", + "release": "patch" + } + ] + } + ], + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + "@semantic-release/npm", + [ + "@semantic-release/github", + { + "successComment": "🎉 This PR is included in version ${nextRelease.version} 🎉", + "addReleases": "bottom" + } + ], + [ + "@semantic-release/git", + { + "assets": [ + "CHANGELOG.md", + "package.json" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ] + ] +}