Allow multiple releases to run at once
Find draft release by draft flag and tag name
This commit is contained in:
parent
67196bdd3e
commit
7e9131d82b
3 changed files with 7 additions and 9 deletions
|
@ -179,7 +179,7 @@ def get_text_with_editor(name):
|
|||
def create_or_get_release_draft(github, releases, tag, tag_exists):
|
||||
# Search for existing draft.
|
||||
for release in releases:
|
||||
if release['draft']:
|
||||
if release['draft'] and release['tag_name'] == tag:
|
||||
return release
|
||||
|
||||
if tag_exists:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue