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:
parent
a8cc56a144
commit
19e31b447c
5
bench/release.py
Normal file → Executable file
5
bench/release.py
Normal file → Executable file
@ -52,8 +52,8 @@ def create_github_release(owner, repo, tag_name, log, gh_username=None, gh_passw
|
|||||||
'target_commitish': 'master',
|
'target_commitish': 'master',
|
||||||
'name': 'Release ' + tag_name,
|
'name': 'Release ' + tag_name,
|
||||||
'body': log,
|
'body': log,
|
||||||
'draft': 'false',
|
'draft': False,
|
||||||
'prerelease': 'false'
|
'prerelease': False
|
||||||
}
|
}
|
||||||
for i in xrange(3):
|
for i in xrange(3):
|
||||||
try:
|
try:
|
||||||
@ -66,6 +66,7 @@ def create_github_release(owner, repo, tag_name, log, gh_username=None, gh_passw
|
|||||||
if i !=2:
|
if i !=2:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
print r.json()
|
||||||
raise
|
raise
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user