From 21b5418e83f4699601479d81054d0c740e89b970 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 5 Mar 2015 21:35:44 -0800 Subject: [PATCH] Break up shell:web task. --- Gruntfile.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 80dd2a488..27caf1878 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -164,10 +164,11 @@ module.exports = (grunt) -> git commit -am "Move <%= pkg.meta.name %> v<%= pkg.meta.version %> to stable channel." git checkout - """.split('\n').join('&&') + 'commit-web': + command: 'git commit -am "Build web page."' web: command: """ git fetch --tags - git commit -am "Build web page." git checkout gh-pages git pull git merge --no-commit -s ours - @@ -370,6 +371,7 @@ module.exports = (grunt) -> grunt.registerTask 'web', [ 'markdown:web' 'copy:web' + 'shell:commit-web' 'shell:web' ]