Skip to content

Commit

Permalink
chore: reproduceable builds
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelTaranto committed Aug 5, 2024
1 parent 2fb8972 commit 9a29f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 9a29f2b

Please sign in to comment.