From 842f9469afc321ded9c6abe6fe298bc7d6dda56b Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 28 Oct 2014 01:14:45 -0400 Subject: [PATCH] Add oauth example file for maintainers --- gulpfile.js | 3 ++- tasks/admin/oauth.js.example.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tasks/admin/oauth.js.example.js 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