From 993b9e8208f3a0723aad1797468fd58517f49033 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 29 Jun 2023 00:37:47 -0400 Subject: [PATCH] ci: add .releaserc.json --- .releaserc.json | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .releaserc.json diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..4ec8222 --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,72 @@ +{ + "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", + { + "npmPublish": false + } + ], + [ + "@semantic-release/git", + { + "assets": [ + "package.json", + "CHANGELOG.md" + ] + } + ] + ], + "branches": [ + "master", + { + "name": "develop", + "prerelease": true + }, + { + "name": "develop-*", + "prerelease": true + } + ] +}