From 19e31b447c08510b4b04e8a622efb4c99869acfd Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 24 Sep 2015 15:23:26 +0530 Subject: [PATCH] [fix] release due to boolean --- bench/release.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 bench/release.py diff --git a/bench/release.py b/bench/release.py old mode 100644 new mode 100755 index e3c5207e..5914ab77 --- a/bench/release.py +++ b/bench/release.py @@ -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