mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 11:08:10 +08:00
fix(build) Fix output directory for builds
- We were including the root output dir twice in the file path
This commit is contained in:
parent
02c3b78d94
commit
4d4e040561
1 changed files with 1 additions and 3 deletions
|
@ -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}>`;
|
||||
|
|
Loading…
Reference in a new issue