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
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -52,7 +52,7 @@ func newChangeLog(infos, docInfos gitInfos) *changeLog {
for _, info := range infos { for _, info := range infos {
// TODO(bep) improve // 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) log.Notes = append(log.Notes, info)
} }