Skip to content

Commit

Permalink
Update build-linux.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jai-JAP authored Mar 21, 2022
1 parent f2f0953 commit 26f93f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build-linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ process.env.ARCH = process.env.ARCH || process.arch
builder({
dir: true,
linux: ['deb', 'tar.gz', 'rpm', 'pacman'],
armv7l: process.env.ARCH === 'armv7l',
arm64: process.env.ARCH === 'arm64',
config: {
extraMetadata: {
version: vars.version,
},
npmRebuild: process.env.ARCH !== 'arm*',
npmRebuild: process.env.ARCH == 'arm64',
},
publish: isTag ? 'always' : 'onTag',
}).catch(() => process.exit(1))

0 comments on commit 26f93f7

Please sign in to comment.