diff --git a/gulpfile.js b/gulpfile.js index 98ef54460..f1c71a170 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -623,7 +623,8 @@ gulp.task('release', false, function() { // Bump package.json // Bump composer.json if(!oAuthToken) { - module.error('Must add node include tasks/admin/oauth.js with oauth token for GitHub'); + console.error('Must add node include tasks/admin/oauth.js with oauth token for GitHub'); + return; } github = new githubAPI({ diff --git a/tasks/admin/oauth.js.example.js b/tasks/admin/oauth.js.example.js new file mode 100644 index 000000000..724591961 --- /dev/null +++ b/tasks/admin/oauth.js.example.js @@ -0,0 +1 @@ +module.exports = 'OAUTH-KEY-HERE'; \ No newline at end of file