From 6c6eec915c09f7320c10ca3f944043d729abc35d Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 16 Oct 2023 21:14:07 -0400 Subject: [PATCH] Filter 'refs/tags/' from body and title --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"))