From 0edc2866092a9b44f7a520eece94bd120a94cab7 Mon Sep 17 00:00:00 2001 From: Sun Howwrongbum Date: Thu, 5 Oct 2017 20:46:11 +0530 Subject: Fix version assignment in docker build script Docker builds were being versioned with literal '_version' --- setup/docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup/docker') diff --git a/setup/docker/build.sh b/setup/docker/build.sh index 0b292fc5f..b4cb75a4a 100755 --- a/setup/docker/build.sh +++ b/setup/docker/build.sh @@ -8,7 +8,7 @@ mvn package || { echo >&2 "Maven package has failed. Aborting."; exit 1; } export company=${1:-"tananaev"} export software=${2:-"traccar"} export _version=$(head -n 10 ./pom.xml |grep version|cut -d ">" -f2|cut -d"<" -f1) -export version=${3:-_version} +export version=${3:-$_version} tmp="./setup/docker/tmp" -- cgit v1.2.3