Correctly reference the default bucket for the release task (#9493)

The configuration is nested under options instead of config in the new aws_s3 library.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2016-12-14 18:03:02 -08:00 committed by GitHub
parent db60725a02
commit 4b6d6275a4

View file

@ -37,7 +37,7 @@ module.exports = function (grunt) {
grunt.config('aws_s3.options', {
accessKeyId: config.key,
secretAccessKey: config.secret,
bucket: config.bucket || grunt.config.get('aws_s3.config.bucket'),
bucket: config.bucket || grunt.config.get('aws_s3.options.bucket'),
region: config.region
});
});