mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Don't fail create-installer if ATOM_ACCESS_TOKEN isn't set
This lets users create one-off installers locally without having to download every other release to create deltas.
This commit is contained in:
@@ -30,7 +30,8 @@ module.exports = (grunt) ->
|
||||
args = ['-r', releasesDir, '-u', 'https://github.com/atom/atom', '-t', atomGitHubToken]
|
||||
|
||||
spawn {cmd, args}, (error, result, code) ->
|
||||
return done(error) if error?
|
||||
if error?
|
||||
grunt.log.error "ATOM_ACCESS_TOKEN not set, can't download old releases; continuing anyways"
|
||||
|
||||
cmd = 'build/windows/nuget.exe'
|
||||
args = ['pack', targetNuspecPath, '-BasePath', atomDir, '-OutputDirectory', buildDir]
|
||||
|
||||
Reference in New Issue
Block a user