mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-11 19:04:20 +00:00
Fix updating an existing draft release
Don't just return the release without doing anything else, notably this didn't allow updating an existing draft release body. This change required refactoring the code to use a new helper find_existing_release() function, but the only effective change is that the main release() function doesn't return early any more if a draft release already exists. This commit is best viewed ignoring whitespace-only changes and using git --color-moved option.
This commit is contained in:
parent
9414f126fb
commit
4c1f6af6e1
2 changed files with 83 additions and 67 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue