Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Add npm_publish command & rename publish_docs to update_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ragulka committed Mar 7, 2014
1 parent 4e0f85c commit 847297e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -122,6 +122,9 @@ module.exports = function (grunt) {
'git commit -m "Update docs to <%= version %>"',
'git checkout master'
].join(' && ')
},
npm_publish: {
cmd: 'npm publish'
}
}

Expand Down Expand Up @@ -186,8 +189,9 @@ module.exports = function (grunt) {
'exec:git_add',
'exec:git_commit:' + version,
'exec:git_tag:' + version,
'exec:publish_docs'
'exec:update_docs'
//'exec:git_push',
//'exec:npm_publish',
]);
});

Expand Down

0 comments on commit 847297e

Please sign in to comment.