mirror of
https://github.com/zhigang1992/bootstrap-tokenfield.git
synced 2026-01-12 22:46:09 +08:00
Add npm_publish command
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user