From 394fe1d8c239ad8a2d724022fb44d630198c6890 Mon Sep 17 00:00:00 2001 From: pangratz Date: Wed, 16 Dec 2015 19:33:51 +0100 Subject: [PATCH] Fix paths to files which should be uploaded to S3 The generated files via `ember build --env=production` are located inside the `dist/globals` directory. (cherry picked from commit d2e0ae95adbec5941287ba34c8d9ac4dbc93be1e) --- config/s3ProjectConfig.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/s3ProjectConfig.js b/config/s3ProjectConfig.js index e24fafd558c..7750e4bdac6 100644 --- a/config/s3ProjectConfig.js +++ b/config/s3ProjectConfig.js @@ -1,10 +1,10 @@ function fileMap(revision,tag,date) { return { - 'ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date), - 'ember-data.js.map': fileObject('ember-data.js', '.map', 'application/json', revision, tag, date), - 'ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date), - 'ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date), - 'docs/data.json': fileObject('ember-data-docs', '.json', 'application/json', revision, tag, date) + 'globals/ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date), + 'globals/ember-data.js.map': fileObject('ember-data.js', '.map', 'application/json', revision, tag, date), + 'globals/ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date), + 'globals/ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date), + 'docs/data.json': fileObject('ember-data-docs', '.json', 'application/json', revision, tag, date) }; }