From: Cheng Zhao Date: Sun, 29 Sep 2013 07:31:20 +0000 (+0800) Subject: Do not require uploading a tag before publish release. X-Git-Tag: v0.5.2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=87d94ff1ae68012f7ad3cf6eb6670278d6df1f28;p=electron.git Do not require uploading a tag before publish release. --- diff --git a/script/upload.py b/script/upload.py index 5a2e4e5e..c630dffb 100755 --- a/script/upload.py +++ b/script/upload.py @@ -108,8 +108,7 @@ def create_release_draft(github, tag): sys.stderr.write('Quit due to empty release note.\n') sys.exit(0) - data = dict(tag_name=tag, target_commitish=tag, name=name, body=body, - draft=True) + data = dict(tag_name=tag, name=name, body=body, draft=True) r = github.repos(ATOM_SHELL_REPO).releases.post(data=data) return r['id']