Filter 'refs/tags/' from body and title

This commit is contained in:
Evan 2023-10-16 21:14:07 -04:00
parent f7b296697e
commit 6c6eec915c
1 changed files with 2 additions and 2 deletions

View File

@ -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"))