From: Cheng Zhao Date: Sun, 29 Sep 2013 07:14:25 +0000 (+0800) Subject: Still upload distribution file to S3 since Atom hasn't used Releases API yet. X-Git-Tag: v0.5.2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6e4307458691573a1c3f7c9da8ebc4901b204dd4;p=electron.git Still upload distribution file to S3 since Atom hasn't used Releases API yet. --- diff --git a/script/upload.py b/script/upload.py index d5ee20b7..5a2e4e5e 100755 --- a/script/upload.py +++ b/script/upload.py @@ -130,6 +130,10 @@ def publish_release(github, release_id): def upload_node(bucket, access_key, secret_key, version): os.chdir(DIST_DIR) + # TODO(zcbenz): Remove me when Atom starts to use Releases API. + s3put(bucket, access_key, secret_key, DIST_DIR, + 'atom-shell/{0}'.format(version), [DIST_NAME]) + s3put(bucket, access_key, secret_key, DIST_DIR, 'atom-shell/dist/{0}'.format(version), glob.glob('node-*.tar.gz'))