mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
18 lines
No EOL
497 B
JavaScript
18 lines
No EOL
497 B
JavaScript
module.exports = function (grunt) {
|
|
|
|
// build, then zip and upload to s3
|
|
grunt.registerTask('release', [
|
|
'distribute:load_s3_config',
|
|
'build',
|
|
's3:release',
|
|
]);
|
|
|
|
// collect the key and secret from the .aws-config.json file, finish configuring the s3 task
|
|
grunt.registerTask('distribute:load_s3_config', function () {
|
|
var config = grunt.file.readJSON('.aws-config.json');
|
|
grunt.config('s3.options', {
|
|
key: config.key,
|
|
secret: config.secret
|
|
});
|
|
});
|
|
}; |