* Updated dependencies to include graceful-fs ~4.0 * Replaced deprecated grunt-s3 package with suggested grunt-aws-s3 * Update licenses task to better support npm 3 Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
22 lines
438 B
JavaScript
22 lines
438 B
JavaScript
export default function (grunt) {
|
|
const { config } = grunt;
|
|
const { sha, version } = grunt.config.get('build');
|
|
|
|
return {
|
|
options: {
|
|
bucket: 'download.elasticsearch.org',
|
|
access: 'private',
|
|
uploadConcurrency: 10
|
|
},
|
|
|
|
staging: {
|
|
files: [{
|
|
expand: true,
|
|
cwd: 'target',
|
|
src: ['**'],
|
|
dest: `kibana/staging/${version}-${sha.substr(0, 7)}/kibana/`
|
|
}]
|
|
}
|
|
};
|
|
};
|