build: fix publish-build-artifacts branch detection (#13599)

This commit is contained in:
Filipe Silva 2016-12-20 23:59:15 +00:00 committed by Chuck Jazdzewski
parent 1817ddb57b
commit 9b8488f007
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ function publishPackages {
} }
# See DEVELOPER.md for help # See DEVELOPER.md for help
BRANCH=`git rev-parse --abbrev-ref HEAD` BRANCH=${TRAVIS_BRANCH:-$(git symbolic-ref --short HEAD)}
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
ORG=$1 ORG=$1
publishPackages "ssh" publishPackages "ssh"