Make build-mac.sh get VERSION from compute-version.py

This commit is contained in:
Emil Lundberg 2017-12-11 16:58:33 +01:00
parent bbe901585d
commit 1221f2b57d
No known key found for this signature in database
GPG Key ID: 1342CC2B5CF84F44

View File

@ -8,7 +8,7 @@ export PATH="/usr/local/opt/qt/bin:$PATH"
PY_VERSION="3.6.3"
APP_DIR=yubioath-desktop.app
VERSION=${1:-$TRAVIS_BRANCH}
VERSION=${TRAVIS_BRANCH:-$(python3 compute-version.py yubioath-desktop-)}
qmake
make