Name the .deb file consistently

Instead of "webtorrent-desktop_0.2.0-1_amd64.deb", name it
"WebTorrent-v0.2.0.deb"
This commit is contained in:
Feross Aboukhadijeh
2016-04-04 15:31:24 -07:00
parent a65ee51358
commit 3599ec077b
2 changed files with 4 additions and 4 deletions

View File

@@ -207,8 +207,6 @@ function buildDarwin (cb) {
verbose: true
}
// TODO: Use the built-in `sign` opt to electron-packager that takes an options
// object as of v6.
sign(signOpts, function (err) {
if (err) return cb(err)
@@ -303,6 +301,7 @@ function buildLinux (packageType, cb) {
info: {
arch: 'amd64',
targetDir: distPath,
targetName: BUILD_NAME + '.deb',
scripts: {
postinst: path.join(config.STATIC_PATH, 'linux', 'postinst'),
postrm: path.join(config.STATIC_PATH, 'linux', 'postrm')
@@ -314,7 +313,8 @@ function buildLinux (packageType, cb) {
expand: true,
cwd: filesPath
}], function (err, done) {
console.log(err || 'Created Linux .deb file.')
if (err) return console.error(err.message || err)
console.log('Created Linux .deb file.')
})
}

View File

@@ -37,7 +37,7 @@
"electron-packager": "^6.0.0",
"electron-winstaller": "^2.0.5",
"gh-release": "^2.0.3",
"nobin-debian-installer": "^0.0.5",
"nobin-debian-installer": "feross/nobin-debian-installer",
"plist": "^1.2.0",
"rimraf": "^2.5.2",
"standard": "^6.0.5"