Upload the index.json to S3
This commit is contained in:
parent
62756a79df
commit
7b621262ea
1 changed files with 8 additions and 0 deletions
|
@ -190,6 +190,14 @@ def upload_node(bucket, access_key, secret_key, version):
|
||||||
s3put(bucket, access_key, secret_key, OUT_DIR,
|
s3put(bucket, access_key, secret_key, OUT_DIR,
|
||||||
'atom-shell/dist/{0}'.format(version), [node_lib])
|
'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():
|
def auth_token():
|
||||||
token = os.environ.get('ATOM_SHELL_GITHUB_TOKEN')
|
token = os.environ.get('ATOM_SHELL_GITHUB_TOKEN')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue