Skip to content

Commit

Permalink
Merge pull request #467 from mysteriumnetwork/hotfix/deb-build-fix
Browse files Browse the repository at this point in the history
Fixed getting version from tag
  • Loading branch information
soffokl authored Oct 18, 2018
2 parents a4927a1 + 273d8a5 commit 2881203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ env:
- BUILD_COMMIT=$TRAVIS_COMMIT
- BUILD_BRANCH=$TRAVIS_BRANCH
- BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
- BUILD_VERSION_MAJOR=0
- BUILD_VERSION=$TRAVIS_TAG

before_install:
- if [ -z "${TRAVIS_TAG/dev/}" ]; then export BUILD_VERSION="$BUILD_VERSION_MAJOR-dev.$TRAVIS_BUILD_NUMBER"; fi
- if [ -z "${BUILD_VERSION/dev/}" ]; then export BUILD_VERSION="0-dev.$TRAVIS_BUILD_NUMBER"; fi

cache:
directories:
Expand Down

0 comments on commit 2881203

Please sign in to comment.