Skip to content

Commit 0424e83

Browse files
docs: update comment regarding major version changes
1 parent 79dcddf commit 0424e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyzer/commit_analyzer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (da *DefaultCommitAnalyzer) setTypeAndChange(c *semrel.Commit) {
5252
c.Message = pc.Message
5353

5454
c.Change = &semrel.Change{
55-
// either uses the `!` convention or has a breaking change section
55+
// either matches the major release rule or has a breaking change section
5656
Major: da.majorReleaseRules.Matches(pc) || matchesBreakingPattern(c),
5757
Minor: da.minorReleaseRules.Matches(pc),
5858
Patch: da.patchReleaseRules.Matches(pc),

0 commit comments

Comments
 (0)