Remove version number for nightly releases

This commit is contained in:
Konstantinos Sideris 2018-01-30 16:13:54 -07:00
parent 117a739bc4
commit 1d7548dae2

View file

@ -15,9 +15,8 @@ if [[ $TAG == v* ]]; then
fi fi
# Prepend nightly with the latest version. # Prepend nightly with the latest version.
if [[ $TAG == "nightly" ]]; then if [[ $TAG == nightly ]]; then
LATEST_VERSION=`git tag -l | grep "^v" | sort | head -n 1` TAG=${TRAVIS_BUILD_NUMBER}.nightly
TAG=${LATEST_VERSION#?}.nightly
fi fi
# Installing dependencies on travis. # Installing dependencies on travis.