2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

[fix] release due to boolean

This commit is contained in:
Anand Doshi 2015-09-24 15:23:26 +05:30
parent a8cc56a144
commit 19e31b447c

5
bench/release.py Normal file → Executable file
View File

@ -52,8 +52,8 @@ def create_github_release(owner, repo, tag_name, log, gh_username=None, gh_passw
'target_commitish': 'master',
'name': 'Release ' + tag_name,
'body': log,
'draft': 'false',
'prerelease': 'false'
'draft': False,
'prerelease': False
}
for i in xrange(3):
try:
@ -66,6 +66,7 @@ def create_github_release(owner, repo, tag_name, log, gh_username=None, gh_passw
if i !=2:
continue
else:
print r.json()
raise
return r