Break up shell:web task.
This commit is contained in:
parent
55d82581c3
commit
21b5418e83
@ -164,10 +164,11 @@ module.exports = (grunt) ->
|
|||||||
git commit -am "Move <%= pkg.meta.name %> v<%= pkg.meta.version %> to stable channel."
|
git commit -am "Move <%= pkg.meta.name %> v<%= pkg.meta.version %> to stable channel."
|
||||||
git checkout -
|
git checkout -
|
||||||
""".split('\n').join('&&')
|
""".split('\n').join('&&')
|
||||||
|
'commit-web':
|
||||||
|
command: 'git commit -am "Build web page."'
|
||||||
web:
|
web:
|
||||||
command: """
|
command: """
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git commit -am "Build web page."
|
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
git pull
|
git pull
|
||||||
git merge --no-commit -s ours -
|
git merge --no-commit -s ours -
|
||||||
@ -370,6 +371,7 @@ module.exports = (grunt) ->
|
|||||||
grunt.registerTask 'web', [
|
grunt.registerTask 'web', [
|
||||||
'markdown:web'
|
'markdown:web'
|
||||||
'copy:web'
|
'copy:web'
|
||||||
|
'shell:commit-web'
|
||||||
'shell:web'
|
'shell:web'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user