diff options
author | Sun Howwrongbum <sun.animus@gmail.com> | 2017-10-05 20:46:11 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 20:46:11 +0530 |
commit | 0edc2866092a9b44f7a520eece94bd120a94cab7 (patch) | |
tree | 23d3f8b4c4ce58d66539debf81b5a78d26098425 /setup/docker | |
parent | 662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a (diff) | |
download | trackermap-server-0edc2866092a9b44f7a520eece94bd120a94cab7.tar.gz trackermap-server-0edc2866092a9b44f7a520eece94bd120a94cab7.tar.bz2 trackermap-server-0edc2866092a9b44f7a520eece94bd120a94cab7.zip |
Fix version assignment in docker build script
Docker builds were being versioned with literal '_version'
Diffstat (limited to 'setup/docker')
-rwxr-xr-x | setup/docker/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |