Merge pull request #2460 from atom/iojs-new-headers

Upload node headers with new filenames
This commit is contained in:
Cheng Zhao 2015-08-10 12:00:17 +08:00
commit ebe70435ef
2 changed files with 5 additions and 0 deletions

View file

@ -40,6 +40,7 @@ def get_files_list(version):
return [ return [
'node-{0}.tar.gz'.format(version), 'node-{0}.tar.gz'.format(version),
'iojs-{0}.tar.gz'.format(version), 'iojs-{0}.tar.gz'.format(version),
'iojs-{0}-headers.tar.gz'.format(version),
'node.lib', 'node.lib',
'x64/node.lib', 'x64/node.lib',
'win-x86/iojs.lib', 'win-x86/iojs.lib',

View file

@ -40,11 +40,15 @@ def main():
args = parse_args() args = parse_args()
node_headers_dir = os.path.join(DIST_DIR, 'node-{0}'.format(args.version)) node_headers_dir = os.path.join(DIST_DIR, 'node-{0}'.format(args.version))
iojs_headers_dir = os.path.join(DIST_DIR, 'iojs-{0}'.format(args.version)) iojs_headers_dir = os.path.join(DIST_DIR, 'iojs-{0}'.format(args.version))
iojs2_headers_dir = os.path.join(DIST_DIR,
'iojs-{0}-headers'.format(args.version))
copy_headers(node_headers_dir) copy_headers(node_headers_dir)
create_header_tarball(node_headers_dir) create_header_tarball(node_headers_dir)
copy_headers(iojs_headers_dir) copy_headers(iojs_headers_dir)
create_header_tarball(iojs_headers_dir) create_header_tarball(iojs_headers_dir)
copy_headers(iojs2_headers_dir)
create_header_tarball(iojs2_headers_dir)
# Upload node's headers to S3. # Upload node's headers to S3.
bucket, access_key, secret_key = s3_config() bucket, access_key, secret_key = s3_config()