From ae70d5cb64466efa56b00a03c561d37666cc4197 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 26 Sep 2013 20:58:32 +0800 Subject: [PATCH] Silence the output of upload script. --- script/upload.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/upload.py b/script/upload.py index 148751bf1..5f2af1ce4 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')