diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-30 16:13:54 -0700 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-30 16:13:54 -0700 |
commit | 1d7548dae28b21db9427635603537c399a90ee7b (patch) | |
tree | c5b0f60ecef4e7ad97b28e8f39f8682bbe13cbfe /.ci | |
parent | Add enough space for the failback text in ImageItem (diff) | |
download | nheko-1d7548dae28b21db9427635603537c399a90ee7b.tar.xz |
Remove version number for nightly releases
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/linux/create-packages.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.ci/linux/create-packages.sh b/.ci/linux/create-packages.sh index 00d80e93..8da5249e 100755 --- a/.ci/linux/create-packages.sh +++ b/.ci/linux/create-packages.sh @@ -15,9 +15,8 @@ if [[ $TAG == v* ]]; then fi # Prepend nightly with the latest version. -if [[ $TAG == "nightly" ]]; then - LATEST_VERSION=`git tag -l | grep "^v" | sort | head -n 1` - TAG=${LATEST_VERSION#?}.nightly +if [[ $TAG == nightly ]]; then + TAG=${TRAVIS_BUILD_NUMBER}.nightly fi # Installing dependencies on travis. |