From e160df58cbd716eb452b6b6dc8238e3f848dfe69 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 6 Mar 2015 18:39:50 -0800 Subject: [PATCH] Check we're on the right branch before moving stuff to gh-pages. --- Gruntfile.coffee | 2 ++ npm-shrinkwrap.json | 10 ++++++++++ package.json | 1 + 3 files changed, 13 insertions(+) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 2f5587bcc..dd7468c0c 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -360,10 +360,12 @@ module.exports = (grunt) -> ] grunt.registerTask 'beta', [ + 'checkbranch:master' 'shell:beta' ] grunt.registerTask 'stable', [ + 'checkbranch:bstable' 'shell:stable' ] diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index aee77294d..c4634b83a 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -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": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/grunt-concurrent/-/grunt-concurrent-1.0.0.tgz", diff --git a/package.json b/package.json index f88839759..3721c5404 100755 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "devDependencies": { "font-awesome": "4.3.0", "grunt": "^0.4.5", + "grunt-checkbranch": "^0.3.1", "grunt-concurrent": "^1.0.0", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-coffee": "^0.13.0",