fix: better error message
All checks were successful
continuous-integration/drone/push Build is passing

See toolshed/organising#608
This commit is contained in:
2025-08-18 20:00:36 +02:00
parent 9ea3bbbde8
commit 0ec1b205b5

View File

@ -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)
}
}