mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-12 14:14:00 -04:00
releaser: Add "note" to Note regexp
This commit is contained in:
parent
fa0da004a9
commit
3473e31eb1
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user