diff --git a/.travis.yml b/.travis.yml index b50f631357f..cf013a17f1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,8 @@ before_install: env: global: - TERM=dumb - - JADX_VERSION="$(git describe --abbrev=0 --tags)-b$TRAVIS_BUILD_NUMBER-$(git rev-parse --short HEAD)" + - JADX_LAST_TAG=$(git describe --abbrev=0 --tags) + - JADX_VERSION="${JADX_LAST_TAG:1}-b$TRAVIS_BUILD_NUMBER-$(git rev-parse --short HEAD)" matrix: include: