From 86e45ff64deccbeab921de969770eaada368bb17 Mon Sep 17 00:00:00 2001 From: Illimar Tambek Date: Fri, 7 Mar 2014 11:14:22 +0200 Subject: [PATCH] Add npm_publish command --- Gruntfile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index d9d9386..f9d1056 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -112,7 +112,7 @@ module.exports = function (grunt) { git_push: { cmd: 'git push && git push --tags' }, - publish_docs: { + update_docs: { cmd: [ 'git checkout gh-pages', 'git reset master --hard', @@ -122,6 +122,9 @@ module.exports = function (grunt) { 'git commit -m "Update docs to <%= version %>"', 'git checkout master' ].join(' && ') + }, + npm_publish: { + cmd: 'npm publish' } } @@ -188,6 +191,7 @@ module.exports = function (grunt) { 'exec:git_tag:' + version, 'exec:publish_docs' //'exec:git_push', + //'exec:npm_publish', ]); });