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

Backports PR #9493

**Commit 1:**
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>

* Original sha: 789b2bf355
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-12-14T23:26:43Z
This commit is contained in:
jasper 2016-12-14 22:28:51 -05:00 committed by Tyler Smalley
parent d02ac4180f
commit c0f3d9e1b5

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