create-gh-release-action
create-gh-release-action copied to clipboard
Option to disallow override of release
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
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.