From 56e97e148bdae2caabffa153a2175bfc9ba52157 Mon Sep 17 00:00:00 2001 From: Melekhin Anton Date: Wed, 17 Apr 2024 20:51:01 +0400 Subject: [PATCH] ci: update release rules --- .releaserc.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.releaserc.yml b/.releaserc.yml index de832c2..d48eec0 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -11,7 +11,7 @@ verifyConditions: analyzeCommits: - path: '@semantic-release/commit-analyzer' releaseRules: - - type: 'breaking' + - breaking: true release: 'major' - type: 'chore' release: false @@ -19,6 +19,9 @@ analyzeCommits: release: false - type: 'docs' release: false + - type: 'docs' + scope: 'README' + release: patch - type: 'feat' release: 'minor' - type: 'fix' @@ -27,7 +30,7 @@ analyzeCommits: release: 'minor' - type: 'refactor' release: 'patch' - - type: 'revert' + - revert: true release: 'patch' - type: 'style' release: false