releaser: Add "note" to Note regexp

This commit is contained in:
Bjørn Erik Pedersen
2021-12-04 16:27:56 +01:00
parent fa0da004a9
commit 3473e31eb1

View File

@@ -52,7 +52,7 @@ func newChangeLog(infos, docInfos gitInfos) *changeLog {
for _, info := range infos {
// TODO(bep) improve
if regexp.MustCompile("(?i)deprecate").MatchString(info.Subject) {
if regexp.MustCompile("(?i)deprecate|note").MatchString(info.Subject) {
log.Notes = append(log.Notes, info)
}