action-gh-release
action-gh-release copied to clipboard
How to replace existing release tag instead of add more files?
Is it possible to replace files under release for existing release tag instead of adding more file ?
Currently if the tag is exists it will add more files to them, I prefer to delete the existing release and tag and then add a new one
btw I'm building workflow for releasing develop branch on commit, the tag is always dev/latest but the file name have date and short commit sha
I can do this manually by running this command before this github action:
git fetch --tags
hub release delete <TAG>
git push --delete origin <TAG>
Would be nice if this can be done inside with, maybe something like replace_existing_tag: true (default to false)
Sounds a bit as if https://github.com/softprops/action-gh-release/pull/188 would implement that.