You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
500 B
28 lines
500 B
/* Release All */
|
|
gulp.task('release all', false, function() {
|
|
|
|
if(!oAuth) {
|
|
console.error('Must add node include tasks/admin/oauth.js with oauth token for GitHub');
|
|
return;
|
|
}
|
|
|
|
github = new githubAPI({
|
|
version : '3.0.0',
|
|
debug : true,
|
|
protocol : 'https',
|
|
timeout : 5000
|
|
});
|
|
|
|
github.authenticate({
|
|
type: 'oauth',
|
|
token: oAuth.token
|
|
});
|
|
|
|
// gulp build
|
|
runSequence(
|
|
'build',
|
|
'create components',
|
|
'update component repos'
|
|
);
|
|
|
|
});
|