From 0ec1b205b5cab5b00350ea200ce3c552d9ebb4e2 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 18 Aug 2025 20:00:36 +0200 Subject: [PATCH] fix: better error message See https://git.coopcloud.tech/toolshed/organising/issues/608 --- tagcmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagcmp.go b/tagcmp.go index 2498a56..c991908 100644 --- a/tagcmp.go +++ b/tagcmp.go @@ -290,7 +290,7 @@ func patternMatches(tag string) error { for _, pattern := range unsupported { if match, _ := regexp.Match(pattern, []byte(tag)); match { - return fmt.Errorf("'%s' is not supported (%s)", tag, pattern) + return fmt.Errorf("version %s is not supported (matched: %s)", tag, pattern) } }