Skip to content

Commit

Permalink
Debug TRAVIS_TAG environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandall committed Apr 5, 2017
1 parent 81e64d4 commit ad78f43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/travis-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad78f43

Please sign in to comment.