fix(build) Fix output directory for builds

- We were including the root output dir twice in the file path
This commit is contained in:
Juan Tejada 2016-11-18 11:42:48 -08:00
parent 02c3b78d94
commit 4d4e040561

View file

@ -84,9 +84,7 @@ module.exports = (grunt) => {
});
}
function uploadToS3(filename, key) {
const filepath = path.join(grunt.config.get('outputDir'), filename);
function uploadToS3(filepath, key) {
grunt.log.writeln(`>> Uploading ${filename} to ${key}`);
return put(filepath, key).then((data) => {
const msg = `N1 release asset uploaded: <${data.Location}|${key}>`;