From ebb94ac840554c5f7478bab9557892465061470e Mon Sep 17 00:00:00 2001 From: Owen Carey <37121709+owenthcarey@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:39:23 -0700 Subject: [PATCH] ci: match the previous release rules in release-plz feat bumps the minor version even on 0.x (features_always_increment_minor), and only feat, fix, perf, revert, and breaking-change commits trigger a release (release_commits), as with the semantic-release setup that release-plz replaced. Without these, release-plz bumped feat by a patch on 0.x and released on any commit that touched a crate. --- release-plz.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/release-plz.toml b/release-plz.toml index dd1d543b..55f140de 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -12,6 +12,19 @@ semver_check = false dependencies_update = false pr_labels = ["release"] release_always = false +# Version rules, matching the semantic-release setup this replaced: +# feat -> minor (even on 0.x) +# fix, perf, revert -> patch +# any type with `!` or a +# `BREAKING CHANGE:` footer -> minor while 0.x +# chore, docs, style, refactor, +# test, build, ci -> no release on their own +# release-plz bumps feat by a patch on 0.x unless told otherwise. +features_always_increment_minor = true +# release-plz releases on any commit that changes a crate unless at least one +# commit must match this pattern. Squash merges make the PR title the commit +# subject, and pr-lint.yml keeps PR titles conventional. +release_commits = '^(feat|fix|perf|revert)(\(.*\))?!?:|^[a-z]+(\(.*\))?!:|^Revert "|BREAKING[ -]CHANGE:' [changelog] commit_parsers = [