|
|
|
@ -25,6 +25,7 @@ func main() {
|
|
|
|
|
|
|
|
|
|
files := gha.GetInput("files")
|
|
|
|
|
title := gha.GetInput("title")
|
|
|
|
|
body := gha.GetInput("body")
|
|
|
|
|
apiKey := gha.GetInput("api_key")
|
|
|
|
|
preRelease, _ := strconv.ParseBool(gha.GetInput("pre_release"))
|
|
|
|
|
draft, _ := strconv.ParseBool(gha.GetInput("draft"))
|
|
|
|
@ -58,7 +59,7 @@ func main() {
|
|
|
|
|
IsPrerelease: preRelease,
|
|
|
|
|
Title: title,
|
|
|
|
|
Target: ctx.SHA,
|
|
|
|
|
// Note: rc.Note,
|
|
|
|
|
Note: body,
|
|
|
|
|
})
|
|
|
|
|
if err != nil {
|
|
|
|
|
gha.Fatalf("failed to create release: %v", err)
|
|
|
|
|