hugo/releaser
Iskander (Alex) Sharipov d7331aaa7e
releaser: Fix regexp
Original regexp used a char class which caused the regexp to only
check 1 symbol instead of a substring like "See" and "Closes".
So it would match `e #x` instead of `See #x` and many other
weird combinations.

Tests were passing as they never checked against an input that
would confuse that regexp.

Found with go-critic static analyzer, `badRegexp` checker.
2021-10-12 11:32:09 +02:00
..
git.go releaser: Fix regexp 2021-10-12 11:32:09 +02:00
git_test.go releaser: Fix regexp 2021-10-12 11:32:09 +02:00
github.go
github_test.go
releasenotes_writer.go
releasenotes_writer_test.go
releaser.go