fix(ci): Publish builds on release branches

This commit is contained in:
Ben Gotow 2015-12-11 14:44:53 -08:00
parent f0e4b2405f
commit 7ea0202cc7

View file

@ -106,10 +106,9 @@ module.exports = (grunt) ->
return false
branch = process.env.TRAVIS_BRANCH
if branch is "master" or branch is "ci-test"
if branch is "master" or branch is "ci-test" or branch[0..7] is "release/"
return true
else
grunt.log.writeln("Skipping. We don't operate on branch '#{branch}''")
return false
return true