From 3bb05a1ab0e60729af6788738a446bee761828a0 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 22 Oct 2024 23:34:13 +0200 Subject: [PATCH] Revert "git: Be bit more strict about tag versions" This reverts commit a6d2819d1fbb0acc97b64a07e1dbc7462f7bbcab. --- internal/filter/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/filter/git/git.go b/internal/filter/git/git.go index bb01bcb..57aa99d 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/[[:alpha:]]*([\d\.\-]+)$`) +var refFilterRe = regexp.MustCompile(`^refs/tags/[^\d]*([\d\.\-]+)$`) // New git filter func New(prefix string, arg string) (filter filter.Filter, err error) {