aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'releaser/git.go')
-rw-r--r--releaser/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/releaser/git.go b/releaser/git.go
index 4db1c2329..a03a48e99 100644
--- a/releaser/git.go
+++ b/releaser/git.go
@@ -23,7 +23,7 @@ import (
"github.com/gohugoio/hugo/common/hexec"
)
-var issueRe = regexp.MustCompile(`(?i)[Updates?|Closes?|Fix.*|See] #(\d+)`)
+var issueRe = regexp.MustCompile(`(?i)(?:Updates?|Closes?|Fix.*|See) #(\d+)`)
const (
notesChanges = "notesChanges"