Support deleting existing releases

Extracted from #181
This commit is contained in:
Naïm Favier 2021-12-04 18:07:48 +01:00
parent fe9a9bd329
commit ce037ed31d
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2
6 changed files with 122 additions and 53 deletions

View file

@ -44,7 +44,10 @@ inputs:
description: "Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes."
required: false
append_body:
description: "Append existed body instead of overrites. Default is false."
description: "Whether to append to the existing body instead of overwriting. Default is false."
required: false
delete_on_existing:
description: "Whether or not to delete an existing release entirely when running this action."
required: false
env:
"GITHUB_TOKEN": "As provided by Github Actions"