mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Don't format version for windows installer
We're just going to use names like '1.1.0-beta1' that are compatible with NuGet, so that the versions that squirrel.windows requests match the names of the github releases
This commit is contained in:
@@ -6,7 +6,6 @@ async = require 'async'
|
||||
fs = require 'fs-plus'
|
||||
GitHub = require 'github-releases'
|
||||
request = require 'request'
|
||||
{convertVersion} = require 'grunt-electron-installer'
|
||||
|
||||
grunt = null
|
||||
|
||||
@@ -79,9 +78,8 @@ getAssets = ->
|
||||
{assetName: 'atom-api.json', sourcePath: 'atom-api.json'}
|
||||
]
|
||||
when 'win32'
|
||||
nupkgVersion = convertVersion(version)
|
||||
assets = [{assetName: 'atom-windows.zip', sourcePath: appName}]
|
||||
for squirrelAsset in ['AtomSetup.exe', 'RELEASES', "atom-#{nupkgVersion}-full.nupkg", "atom-#{nupkgVersion}-delta.nupkg"]
|
||||
for squirrelAsset in ['AtomSetup.exe', 'RELEASES', "atom-#{version}-full.nupkg", "atom-#{version}-delta.nupkg"]
|
||||
cp path.join(buildDir, 'installer', squirrelAsset), path.join(buildDir, squirrelAsset)
|
||||
assets.push({assetName: squirrelAsset, sourcePath: assetName})
|
||||
assets
|
||||
|
||||
Reference in New Issue
Block a user