diff --git a/electron-builder.yml b/electron-builder.yml index 9151b8c7..066a0462 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -98,3 +98,5 @@ rpm: fpm: - '--rpm-rpmbuild-define' - '_build_id_links none' + - '--replaces' + - 'terminus' diff --git a/scripts/build-linux.js b/scripts/build-linux.js index 54af943c..099e88c0 100755 --- a/scripts/build-linux.js +++ b/scripts/build-linux.js @@ -3,13 +3,13 @@ const builder = require('electron-builder').build const vars = require('./vars') const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/') -const isCI = !!process.env.GITHUB_REF builder({ dir: true, linux: ['deb', 'tar.gz', 'rpm', 'pacman'], config: { extraMetadata: { + name: 'terminus-terminal', version: vars.version, }, },