mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
releaser: Add "note" to Note regexp
This commit is contained in:
parent
fa0da004a9
commit
3473e31eb1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue