Don't include version in .deb asset name

This commit is contained in:
Kevin Sawicki
2014-09-12 12:34:51 -07:00
parent bf76a3f1e7
commit b1a6772105

View File

@@ -59,9 +59,13 @@ getAssets = ->
]
when 'linux'
buildDir = grunt.config.get('atom.buildDir')
if process.arch is 'ia32'
arch = 'i386'
else
arch = 'amd64'
debAsset = fs.listSync(buildDir, ['.deb'])[0]
[
{assetName: path.basename(debAsset), sourcePath: debAsset}
{assetName: "atom-#{arch}.deb", sourcePath: debAsset}
]
logError = (message, error, details) ->