]> khamidou — GitHub mirrors - electron.git/commitdiff
Do not require uploading a tag before publish release. v0.5.2
authorCheng Zhao <zcbenz@gmail.com>
Sun, 29 Sep 2013 07:31:20 +0000 (15:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 29 Sep 2013 07:31:20 +0000 (15:31 +0800)
script/upload.py

index 5a2e4e5e0826bf2d5cce657cbe3e1728ffaa476d..c630dffbe89e91296b21e43130b7e3b04b8660d3 100755 (executable)
@@ -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']