Fix uploading headers when release draft exists
This commit is contained in:
parent
4c76112698
commit
9159b06835
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ def main():
|
|||
releases = github.repos(ATOM_SHELL_REPO).releases.get()
|
||||
tag_exists = False
|
||||
for release in releases:
|
||||
if release['tag_name'] == args.version:
|
||||
if not release['draft'] and release['tag_name'] == args.version:
|
||||
tag_exists = True
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue