diff --git a/internal/releaseprep/releaseprep.go b/internal/releaseprep/releaseprep.go index f167812..5dc8a4f 100644 --- a/internal/releaseprep/releaseprep.go +++ b/internal/releaseprep/releaseprep.go @@ -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