Skip to content

Commit

Permalink
Revert "git: Be bit more strict about tag versions"
Browse files Browse the repository at this point in the history
This reverts commit a6d2819.
  • Loading branch information
wader committed Oct 22, 2024
1 parent a6d2819 commit 3bb05a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/filter/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ https://github.com/git/git.git|*

// default ref filter
// refs/tags/<non-digits><version-number> -> version-number
var refFilterRe = regexp.MustCompile(`^refs/tags/[[:alpha:]]*([\d\.\-]+)$`)
var refFilterRe = regexp.MustCompile(`^refs/tags/[^\d]*([\d\.\-]+)$`)

// New git filter
func New(prefix string, arg string) (filter filter.Filter, err error) {
Expand Down

0 comments on commit 3bb05a1

Please sign in to comment.