diff --git a/deploy/build.js b/deploy/build.js index 4b0ab10dd..24706c973 100644 --- a/deploy/build.js +++ b/deploy/build.js @@ -20,11 +20,11 @@ var version = packageJson.version var timestamp = new Date() function makeTar (tarPath, cb) { - tar.c({ file: tarPath, cwd: path.resolve(packageBase) }, ['package'], cb) + tar.c({ file: tarPath, cwd: path.resolve(packageBase), portable: true, noMtime: true }, ['package'], cb) } function makeZippedTar (tarPath, cb) { - tar.c({ file: tarPath, cwd: path.resolve(packageBase), gzip: true }, ['subpackage'], cb) + tar.c({ file: tarPath, cwd: path.resolve(packageBase), portable: true, noMtime: true, gzip: true }, ['subpackage'], cb) } function generateInfo () {