Anchor default version regex to start of string.

h/t @vito
This commit is contained in:
Joshua Carp
2018-04-11 23:03:14 -04:00
parent 71519586fb
commit 04c4ad42c0

View File

@@ -7,7 +7,7 @@ import (
"github.com/google/go-github/github"
)
var defaultTagFilter = "v?([^v].*)"
var defaultTagFilter = "^v?([^v].*)"
type versionParser struct {
re *regexp.Regexp