]> khamidou — GitHub mirrors - electron.git/commitdiff
Still upload distribution file to S3 since Atom hasn't used Releases API yet.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 29 Sep 2013 07:14:25 +0000 (15:14 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 29 Sep 2013 07:15:16 +0000 (15:15 +0800)
script/upload.py

index d5ee20b73cb7de4f5545d5324d83463a6e373cd9..5a2e4e5e0826bf2d5cce657cbe3e1728ffaa476d 100755 (executable)
@@ -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'))