Update build_release for github3.py 1.0

This commit is contained in:
Florian Bruhin 2018-03-14 21:11:03 +01:00
parent 1d562d919e
commit c2b995edde

View File

@ -361,7 +361,7 @@ def github_upload(artifacts, tag):
repo = gh.repository('qutebrowser', 'qutebrowser')
release = None # to satisfy pylint
for release in repo.iter_releases():
for release in repo.releases():
if release.tag_name == tag:
break
else: