From 87d94ff1ae68012f7ad3cf6eb6670278d6df1f28 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 29 Sep 2013 15:31:20 +0800 Subject: [PATCH] Do not require uploading a tag before publish release. --- script/upload.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'] -- 2.43.0