diff --git a/cmd/check-update/main.go b/cmd/check-update/main.go index 12cdce4..433f6a3 100644 --- a/cmd/check-update/main.go +++ b/cmd/check-update/main.go @@ -51,7 +51,7 @@ func run() error { after = before } tagName, _, _ := strings.Cut(after, "-") - tagName, _, _ = strings.Cut(after, "~") + tagName, _, _ = strings.Cut(tagName, "~") log.Println("latest version:", tagName)