From 6b364180f08fd641b3f91b2e20e52f50fd27fc1d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 30 Jun 2023 01:27:50 -0400 Subject: [PATCH] ci: add .releaserc.json --- .releaserc.json | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .releaserc.json diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..5bc980e --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,68 @@ +{ + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { + "breaking": true, + "release": "major" + }, + { + "revert": true, + "release": "patch" + }, + { + "type": "feat", + "release": "minor" + }, + { + "type": "fix", + "release": "patch" + }, + { + "type": "perf", + "release": "patch" + }, + { + "type": "dep", + "release": "patch" + }, + { + "type": "refactor", + "release": "patch" + } + ] + } + ], + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + "@semantic-release/npm", + [ + "@semantic-release/git", + { + "assets": [ + "package.json", + "CHANGELOG.md", + "npm-shrinkwrap.json" + ] + } + ] + ], + "branches": [ + "master", + { + "name": "develop", + "prerelease": true + }, + { + "name": "develop-*", + "prerelease": true + } + ] +} \ No newline at end of file