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
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ func (da *DefaultCommitAnalyzer) setTypeAndChange(c *semrel.Commit) { ...@@ -52,7 +52,7 @@ func (da *DefaultCommitAnalyzer) setTypeAndChange(c *semrel.Commit) {
c.Message = pc.Message c.Message = pc.Message
c.Change = &semrel.Change{ 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), Major: da.majorReleaseRules.Matches(pc) || matchesBreakingPattern(c),
Minor: da.minorReleaseRules.Matches(pc), Minor: da.minorReleaseRules.Matches(pc),
Patch: da.patchReleaseRules.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