mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Don't upload the release on windows
This commit is contained in:
parent
e974e61012
commit
4d643242a1
@ -30,12 +30,15 @@ cp.safeExec.bind(global, 'node script/bootstrap', function(error) {
|
||||
process.exit(1);
|
||||
var async = require('async');
|
||||
var gruntPath = path.join('node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
||||
async.series([
|
||||
var tasks = [
|
||||
require('rimraf').bind(global, path.join(homeDir, '.atom')),
|
||||
cp.safeExec.bind(global, 'git clean -dff'),
|
||||
cp.safeExec.bind(global, gruntPath + ' ci --stack --no-color'),
|
||||
cp.safeExec.bind(global, 'node_modules/.bin/coffee script/upload-release')
|
||||
], function(error) {
|
||||
]
|
||||
if (process.platform === 'darwin') {
|
||||
tasks.push(cp.safeExec.bind(global, 'node_modules/.bin/coffee script/upload-release'))
|
||||
}
|
||||
async.series(tasks, function(error) {
|
||||
process.exit(error ? 1 : 0);
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user