build: fix publish-build-artifacts branch detection (#13599)
This commit is contained in:
parent
1817ddb57b
commit
9b8488f007
|
@ -97,7 +97,7 @@ function publishPackages {
|
|||
}
|
||||
|
||||
# See DEVELOPER.md for help
|
||||
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
||||
BRANCH=${TRAVIS_BRANCH:-$(git symbolic-ref --short HEAD)}
|
||||
if [ $# -gt 0 ]; then
|
||||
ORG=$1
|
||||
publishPackages "ssh"
|
||||
|
|
Loading…
Reference in New Issue