[build] Keep process env variables, re-add done

This commit is contained in:
Jonathan Budzenski 2016-04-27 17:23:13 -05:00
parent 86269bca6d
commit f3cd91a0d0

View file

@ -38,10 +38,10 @@ export default (grunt) => {
rpm.filePath,
'-r', 'external-1'
], {
env: {
env: Object.assign({}, {
'AWS_ACCESS_KEY': rpm.awsKey,
'AWS_SECRET_KEY': rpm.awsSecret
}
}, process.env)
});
}
@ -76,7 +76,7 @@ export default (grunt) => {
grunt.registerTask('_publishPackages:upload', function (environment) {
const aws = grunt.file.readJSON('.aws-config.json');
const signature = grunt.file.readJSON('.signing-config.json');
const done = this.async();
const simpleGit = new SimpleGit();
const revparse = promisify(simpleGit.revparse, simpleGit);
@ -107,6 +107,7 @@ export default (grunt) => {
});
}
});
done();
});
});
};