diff --git a/pkg/analyzer/commit_analyzer.go b/pkg/analyzer/commit_analyzer.go index 67038a0bb4282d7064d92ccf31bed9a5a4be44c1..7667f19ea3b2ea34ab8fd931288b89f9de71b0b3 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),