Skip to content

Commit

Permalink
Fix version assignment in docker build script
Browse files Browse the repository at this point in the history
Docker builds were being versioned with literal '_version'
  • Loading branch information
sunhoww authored Oct 5, 2017
1 parent 662cbd6 commit 0edc286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 0edc286

Please sign in to comment.