feat(release): support breaking changelog notes
This commit is contained in:
@@ -56,7 +56,7 @@ func RecommendedTag(rootDir string) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
case strings.Contains(unreleasedBody, "### Removed"):
|
case strings.Contains(unreleasedBody, "### Breaking"), strings.Contains(unreleasedBody, "### Removed"):
|
||||||
parsed.major++
|
parsed.major++
|
||||||
parsed.minor = 0
|
parsed.minor = 0
|
||||||
parsed.patch = 0
|
parsed.patch = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user