Skip to content
Snippets Groups Projects
Commit 0424e838 authored by Christoph Witzko's avatar Christoph Witzko
Browse files

docs: update comment regarding major version changes

parent 79dcddff
Branches
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment