fix if statement

This commit is contained in:
davidnewhall2 2019-12-12 00:44:30 -08:00
parent 685690825f
commit 1b31e1449e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# Deploy our built packages to jfrog bintray. # Deploy our built packages to jfrog bintray.
COMPONENT=unstable COMPONENT=unstable
if [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "" ]; then if [ "$TRAVIS_BRANCH" == "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "" ]; then
COMPONENT=main COMPONENT=main
fi fi
echo "deploying packages from branch: $TRAVIS_BRANCH, tag: $TRAVIS_TAG to repo: $COMPONENT" echo "deploying packages from branch: $TRAVIS_BRANCH, tag: $TRAVIS_TAG to repo: $COMPONENT"