Filter 'refs/tags/' from body and title
This commit is contained in:
parent
f7b296697e
commit
6c6eec915c
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -24,8 +24,8 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
files := gha.GetInput("files")
|
files := gha.GetInput("files")
|
||||||
title := gha.GetInput("title")
|
title := strings.Replace(gha.GetInput("title"), "refs/tags/", "", 1)
|
||||||
body := gha.GetInput("body")
|
body := strings.Replace(gha.GetInput("body"), "refs/tags/", "", 1)
|
||||||
apiKey := gha.GetInput("api_key")
|
apiKey := gha.GetInput("api_key")
|
||||||
preRelease, _ := strconv.ParseBool(gha.GetInput("pre_release"))
|
preRelease, _ := strconv.ParseBool(gha.GetInput("pre_release"))
|
||||||
draft, _ := strconv.ParseBool(gha.GetInput("draft"))
|
draft, _ := strconv.ParseBool(gha.GetInput("draft"))
|
||||||
|
|
Reference in a new issue