Check we're on the right branch before moving stuff to gh-pages.

This commit is contained in:
ccd0 2015-03-06 18:39:50 -08:00
parent fedd7034d3
commit e160df58cb
3 changed files with 13 additions and 0 deletions

View File

@ -360,10 +360,12 @@ module.exports = (grunt) ->
] ]
grunt.registerTask 'beta', [ grunt.registerTask 'beta', [
'checkbranch:master'
'shell:beta' 'shell:beta'
] ]
grunt.registerTask 'stable', [ grunt.registerTask 'stable', [
'checkbranch:bstable'
'shell:stable' 'shell:stable'
] ]

10
npm-shrinkwrap.json generated
View File

@ -197,6 +197,16 @@
} }
} }
}, },
"grunt-checkbranch": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/grunt-checkbranch/-/grunt-checkbranch-0.3.1.tgz",
"dependencies": {
"shelljs": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz"
}
}
},
"grunt-concurrent": { "grunt-concurrent": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/grunt-concurrent/-/grunt-concurrent-1.0.0.tgz", "resolved": "https://registry.npmjs.org/grunt-concurrent/-/grunt-concurrent-1.0.0.tgz",

View File

@ -44,6 +44,7 @@
"devDependencies": { "devDependencies": {
"font-awesome": "4.3.0", "font-awesome": "4.3.0",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-checkbranch": "^0.3.1",
"grunt-concurrent": "^1.0.0", "grunt-concurrent": "^1.0.0",
"grunt-contrib-clean": "^0.6.0", "grunt-contrib-clean": "^0.6.0",
"grunt-contrib-coffee": "^0.13.0", "grunt-contrib-coffee": "^0.13.0",