create-gh-release-action icon indicating copy to clipboard operation
create-gh-release-action copied to clipboard

Option to disallow override of release

Open taiki-e opened this issue 4 years ago • 1 comments

Currently, if a release already exists, this action deletes it and then creating a new release. This behavior should be configurable.

https://github.com/taiki-e/create-gh-release-action/blob/0c6ccb3138a320ce96d81052be4263e7abeda881/main.sh#L72-L76

taiki-e avatar Jun 30 '21 11:06 taiki-e

There are 4 possible strategies here.

  • If a release already exists, overwrite it. (current behavior)
  • If a release already exists, exit with an error.
  • If a release already exists, skip the creation of a release, but it will not exit with an error.
  • If a release already exists, update it.

taiki-e avatar Dec 18 '21 05:12 taiki-e