From: Cheng Zhao Date: Tue, 8 Dec 2015 02:42:51 +0000 (+0800) Subject: Fix release title X-Git-Tag: v0.36.0~30^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c63a8c944bef19a67a153b80ce98356645921f5f;p=electron.git Fix release title --- diff --git a/script/upload.py b/script/upload.py index c021d743..3245d9ca 100755 --- a/script/upload.py +++ b/script/upload.py @@ -174,11 +174,10 @@ def create_or_get_release_draft(github, releases, tag, tag_exists): def create_release_draft(github, tag): + name = '{0} {1}'.format(PROJECT_NAME, tag) if os.environ.has_key('CI'): - name = '{0} pending draft'.format(PROJECT_NAME) body = '(placeholder)' else: - name = '{0} {1}'.format(PROJECT_NAME, tag) body = get_text_with_editor(name) if body == '': sys.stderr.write('Quit due to empty release note.\n')