Travis: fix Debian package version

This commit is contained in:
Palakis 2017-04-15 17:08:34 +02:00
parent 9ba2e83857
commit f017491f44

View File

@ -7,7 +7,7 @@ mkdir /root/package
cd /root/obs-websocket
export GIT_HASH=$(git rev-parse --short HEAD)
export PKG_VERSION="$GIT_HASH-$TRAVIS_BRANCH"
export PKG_VERSION="$GIT_HASH-git"
if [ -n "${TRAVIS_TAG}" ]; then
export PKG_VERSION="$TRAVIS_TAG"