Correctly reference the default bucket for the release task

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 15:26:43 -08:00
parent db60725a02
commit 789b2bf355

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
});
});