Add npm_publish command

This commit is contained in:
Illimar Tambek
2014-03-07 11:14:22 +02:00
parent 4e0f85c4e0
commit 86e45ff64d

View File

@@ -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',
]);
});