release tool: Improve output for open github issues
This commit is contained in:
parent
2436552840
commit
65e41f2ec3
|
@ -274,8 +274,8 @@ def ensure_no_open_tickets(version):
|
||||||
if issues:
|
if issues:
|
||||||
urls = []
|
urls = []
|
||||||
for issue in issues:
|
for issue in issues:
|
||||||
urls.append(issue['url'])
|
urls.append(issue['html_url'])
|
||||||
raise RuntimeError('Found open issues for release version %s see - %s' % (version, urls))
|
raise RuntimeError('Found open issues for release version %s:\n%s' % (version, '\n'.join(urls)))
|
||||||
else:
|
else:
|
||||||
log("No open issues found for version %s" % version)
|
log("No open issues found for version %s" % version)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue