Skip to content

Commit 7b62126

Browse files
committed
Upload the index.json to S3
1 parent 62756a7 commit 7b62126

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

script/upload.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,14 @@ def upload_node(bucket, access_key, secret_key, version):
190190
s3put(bucket, access_key, secret_key, OUT_DIR,
191191
'atom-shell/dist/{0}'.format(version), [node_lib])
192192

193+
# Upload the index.json
194+
atom_shell = os.path.join(OUT_DIR, 'atom.exe')
195+
index_json = os.path.join(OUT_DIR, 'index.json')
196+
execute([atom_shell,
197+
os.path.join(SOURCE_ROOT, 'script', 'dump-version-info.js'),
198+
index_json])
199+
s3put(bucket, access_key, secret_key, OUT_DIR, 'atom-shell', [index_json])
200+
193201

194202
def auth_token():
195203
token = os.environ.get('ATOM_SHELL_GITHUB_TOKEN')

0 commit comments

Comments
 (0)