We've got a valid ReleasesDir, don't clear it

This commit is contained in:
Paul Betts
2014-10-06 18:21:23 -07:00
parent c9ee9b46ed
commit 20b94c8a4c

View File

@@ -40,10 +40,6 @@ module.exports = (grunt) ->
pkgs = pkg for pkg in fs.readdirSync(buildDir) when path.extname(pkg) is '.nupkg'
# NB: Gonna clear Releases for now, in the future we need to pull down
# the existing version
rm(releasesDir)
cmd = 'build/windows/update.com'
args = ['--releasify', path.join(buildDir, pkgs), '-r', releasesDir, '-g', 'build/windows/install-spinner.gif']
spawn {cmd, args}, (error, result, code) -> done(error)