diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..427afbc --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,31 @@ +{ + "branches": ["+([0-9])?(.{+([0-9]),x}).x", "main"], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See\n[Conventional Commits](https://conventionalcommits.org) for commit guidelines." + } + ], + [ + "@semantic-release/npm", + { + "tarballDir": "pack" + } + ], + [ + "@semantic-release/github", + { + "assets": "pack/*.tgz" + } + ], + [ + "@semantic-release/git", + { + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ] + ] +}