mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Upload the index.json to S3
This commit is contained in:
@@ -190,6 +190,14 @@ def upload_node(bucket, access_key, secret_key, version):
|
||||
s3put(bucket, access_key, secret_key, OUT_DIR,
|
||||
'atom-shell/dist/{0}'.format(version), [node_lib])
|
||||
|
||||
# Upload the index.json
|
||||
atom_shell = os.path.join(OUT_DIR, 'atom.exe')
|
||||
index_json = os.path.join(OUT_DIR, 'index.json')
|
||||
execute([atom_shell,
|
||||
os.path.join(SOURCE_ROOT, 'script', 'dump-version-info.js'),
|
||||
index_json])
|
||||
s3put(bucket, access_key, secret_key, OUT_DIR, 'atom-shell', [index_json])
|
||||
|
||||
|
||||
def auth_token():
|
||||
token = os.environ.get('ATOM_SHELL_GITHUB_TOKEN')
|
||||
|
||||
Reference in New Issue
Block a user