From 0424e8385cce7068162cf966373a719ac72142b1 Mon Sep 17 00:00:00 2001 From: Christoph Witzko <github@christophwitzko.com> Date: Sat, 17 Feb 2024 15:32:39 +0100 Subject: [PATCH] docs: update comment regarding major version changes --- pkg/analyzer/commit_analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyzer/commit_analyzer.go b/pkg/analyzer/commit_analyzer.go index 67038a0..7667f19 100644 --- a/pkg/analyzer/commit_analyzer.go +++ b/pkg/analyzer/commit_analyzer.go @@ -52,7 +52,7 @@ func (da *DefaultCommitAnalyzer) setTypeAndChange(c *semrel.Commit) { c.Message = pc.Message c.Change = &semrel.Change{ - // either uses the `!` convention or has a breaking change section + // either matches the major release rule or has a breaking change section Major: da.majorReleaseRules.Matches(pc) || matchesBreakingPattern(c), Minor: da.minorReleaseRules.Matches(pc), Patch: da.patchReleaseRules.Matches(pc), -- GitLab