Anchor default version regex to start of string.
h/t @vito
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/google/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaultTagFilter = "v?([^v].*)"
|
var defaultTagFilter = "^v?([^v].*)"
|
||||||
|
|
||||||
type versionParser struct {
|
type versionParser struct {
|
||||||
re *regexp.Regexp
|
re *regexp.Regexp
|
||||||
|
Reference in New Issue
Block a user