From: Cheng Zhao Date: Thu, 26 Sep 2013 12:58:32 +0000 (+0800) Subject: Silence the output of upload script. X-Git-Tag: v0.5.2~7^2~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ae70d5cb64466efa56b00a03c561d37666cc4197;p=electron.git Silence the output of upload script. --- diff --git a/script/upload.py b/script/upload.py index 148751bf..5f2af1ce 100755 --- a/script/upload.py +++ b/script/upload.py @@ -35,7 +35,7 @@ def main(): if not dist_newer_than_head(): create_dist = os.path.join(SOURCE_ROOT, 'script', 'create-dist.py') - subprocess.check_call([sys.executable, create_dist]) + subprocess.check_output([sys.executable, create_dist]) github = GitHub(auth_token()) release_id = create_or_get_release_draft(github, args.version) @@ -113,8 +113,8 @@ def upload(auth_token, version=ATOM_SHELL_VRESION): if TARGET_PLATFORM == 'win32': # Generate the node.lib. build = os.path.join(SOURCE_ROOT, 'script', 'build.py') - subprocess.check_call([sys.executable, build, '-c', 'Release', - '-t', 'generate_node_lib']) + subprocess.check_output([sys.executable, build, '-c', 'Release', + '-t', 'generate_node_lib']) # Upload the 32bit node.lib. node_lib = os.path.join(OUT_DIR, 'node.lib')