From 662c48b165b43a2dc4e7f014570d5de80a85f55b Mon Sep 17 00:00:00 2001 From: mvgijssel <6029816+mvgijssel@users.noreply.github.com> Date: Sun, 8 Oct 2023 09:42:24 +0200 Subject: [PATCH] Update release config --- rules/rules_task/.releaserc | 77 +++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 4 deletions(-) diff --git a/rules/rules_task/.releaserc b/rules/rules_task/.releaserc index a5df577a1..f7f69bbd5 100644 --- a/rules/rules_task/.releaserc +++ b/rules/rules_task/.releaserc @@ -1,11 +1,81 @@ { "branches": [ - "master" + { + "name": "master" + } ], "extends": "semantic-release-monorepo", "tagFormat": "rules_task-v${version}", "plugins": [ - "@semantic-release/commit-analyzer", + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { + "type": "docs", + "scope": "readme.md", + "release": "patch" + }, + { + "type": "build", + "release": "patch" + } + ], + "preset": "conventionalcommits", + "presetConfig": { + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "feature", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "chore", + "section": "Miscellaneous Chores" + }, + { + "type": "refactor", + "section": "Code Refactoring" + }, + { + "type": "test", + "section": "Tests" + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration" + } + ] + } + } + ], "@semantic-release/release-notes-generator", [ "@semantic-release/exec", @@ -18,8 +88,7 @@ { "assets": [ { - "path": "*.tar.gz", - "label": "rules_task" + "path": "*.tar.gz" } ] }