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',
|
||||
'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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user