feat(releaseprep): force major bump on Breaking heading
This commit is contained in:
@@ -82,7 +82,7 @@ func RecommendedTag(rootDir string, options Options) (string, error) {
|
||||
}
|
||||
|
||||
switch {
|
||||
case sectionHasEntries(unreleasedBody, "Breaking"), sectionHasEntries(unreleasedBody, "Removed"):
|
||||
case strings.Contains(unreleasedBody, "### Breaking"), sectionHasEntries(unreleasedBody, "Removed"):
|
||||
parsed.major++
|
||||
parsed.minor = 0
|
||||
parsed.patch = 0
|
||||
|
||||
Reference in New Issue
Block a user