summaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-12-04 16:27:56 +0100
committerBjørn Erik Pedersen <[email protected]>2021-12-04 16:27:56 +0100
commit3473e31eb1ee15cfb04ec12a38d5c0bc7f16f44e (patch)
tree2cc00467f3ef744e5dd1d4417451ebece56d7350 /releaser
parentfa0da004a9c4b4aed8345b420430836612a298ca (diff)
downloadhugo-3473e31eb1ee15cfb04ec12a38d5c0bc7f16f44e.tar.gz
hugo-3473e31eb1ee15cfb04ec12a38d5c0bc7f16f44e.zip
releaser: Add "note" to Note regexp
Diffstat (limited to 'releaser')
-rw-r--r--releaser/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/releaser/git.go b/releaser/git.go
index 831a0bc04..16bcbf2a0 100644
--- a/releaser/git.go
+++ b/releaser/git.go
@@ -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)
}