diff --git a/main.go b/main.go index c6c605d..8740997 100644 --- a/main.go +++ b/main.go @@ -24,8 +24,8 @@ func main() { } files := gha.GetInput("files") - title := gha.GetInput("title") - body := gha.GetInput("body") + title := strings.Replace(gha.GetInput("title"), "refs/tags/", "", 1) + body := strings.Replace(gha.GetInput("body"), "refs/tags/", "", 1) apiKey := gha.GetInput("api_key") preRelease, _ := strconv.ParseBool(gha.GetInput("pre_release")) draft, _ := strconv.ParseBool(gha.GetInput("draft"))