From 66811c28f844a34029216c4d5b4f0bafc99c062b Mon Sep 17 00:00:00 2001 From: xyzcancer Date: Tue, 17 Nov 2026 17:00:17 +0400 Subject: [PATCH] ci(release): the release commit no longer counts as a feature, so the next merge does not cut a version of its own --- .releaserc.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.releaserc.yml b/.releaserc.yml index 979c3b9a..8b139949 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -2,7 +2,15 @@ branches: ['master'], plugins: [ - '@semantic-release/commit-analyzer', + [ + '@semantic-release/commit-analyzer', + { + # The merged release PR's commit, feat(release): version, records a version already cut; + # counted as a feature it would make the next push to master cut a minor of its own. + # Every other commit falls through to the default rules. + 'releaseRules': [{ 'type': 'feat', 'scope': 'release', 'release': false }], + }, + ], '@semantic-release/release-notes-generator', [ '@semantic-release/github',