From dcdca7fa77468d1ed1b179fa2925ad871aac5e74 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 8 Oct 2015 18:04:58 -0700 Subject: [PATCH] Make sure we're on stable branch when pushing to Chrome store. --- Gruntfile.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index c91cac904..acd4893f0 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -212,6 +212,10 @@ module.exports = (grunt) -> """.split('\n').join('&&') push: command: 'git push origin --tags -f && git push origin --all' + prestore: + command: 'git checkout stable' + poststore: + command: 'git checkout -' aws: command: """ git checkout gh-pages @@ -455,7 +459,9 @@ module.exports = (grunt) -> ] grunt.registerTask 'store', [ + 'shell:prestore' 'webstore_upload' + 'shell:poststore' ] grunt.registerTask 'setversion', 'Set the version number', (version) ->