fix cut
This commit is contained in:
parent
31f830073e
commit
0269516c7f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue