Make sure we're on stable branch when pushing to Chrome store.

This commit is contained in:
ccd0 2015-10-08 18:04:58 -07:00
parent ab43686e62
commit dcdca7fa77

View File

@ -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) ->