diff --git a/internal/filter/git/git.go b/internal/filter/git/git.go index 57aa99d..bb01bcb 100644 --- a/internal/filter/git/git.go +++ b/internal/filter/git/git.go @@ -26,7 +26,7 @@ https://github.com/git/git.git|* // default ref filter // refs/tags/ -> version-number -var refFilterRe = regexp.MustCompile(`^refs/tags/[^\d]*([\d\.\-]+)$`) +var refFilterRe = regexp.MustCompile(`^refs/tags/[[:alpha:]]*([\d\.\-]+)$`) // New git filter func New(prefix string, arg string) (filter filter.Filter, err error) {