mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
releaser: Add "note" to Note regexp
This commit is contained in:
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user