This commit is contained in:
oliverpool 2022-03-23 20:57:46 +01:00
parent 31f830073e
commit 0269516c7f

View file

@ -51,7 +51,7 @@ func run() error {
after = before after = before
} }
tagName, _, _ := strings.Cut(after, "-") tagName, _, _ := strings.Cut(after, "-")
tagName, _, _ = strings.Cut(after, "~") tagName, _, _ = strings.Cut(tagName, "~")
log.Println("latest version:", tagName) log.Println("latest version:", tagName)