From 1221f2b57dbdb6e72573fd5706a1239f18eb7415 Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Mon, 11 Dec 2017 16:58:33 +0100 Subject: [PATCH] Make build-mac.sh get VERSION from compute-version.py --- dev-util/build-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/build-mac.sh b/dev-util/build-mac.sh index 1800da69..ceb0a0c2 100755 --- a/dev-util/build-mac.sh +++ b/dev-util/build-mac.sh @@ -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