diff --git a/build/travis-utils.sh b/build/travis-utils.sh index 6bcd28a572..477c142194 100644 --- a/build/travis-utils.sh +++ b/build/travis-utils.sh @@ -11,7 +11,10 @@ function is_travis_push_env() { # If the tag matches the source version then we can assume this is build is # for a release. function is_travis_release_env() { - if [ "$TRAVIS_TAG" = "$(make version)" ]; then + version="$(make version)" + echo "TRAVIS_TAG=$TRAVIS_TAG" + echo "VERSION=$version" + if [ "$TRAVIS_TAG" = $version ]; then return 0 fi return 1