Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Commit

Permalink
Fix version fetching after the addition of the version string envar
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimKriegor committed Jan 18, 2020
1 parent 0e7dbf1 commit 5db17d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ script:
- >
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "$DOCKERHUB_PASS" | docker login -u="$DOCKERHUB_USER" --password-stdin
TAG=$(grep "ENV TES3MP_VERSION" Dockerfile | awk 'NF>1{print $NF}')
TAG=$(grep "ENV TES3MP_VERSION .*" Dockerfile | awk 'NF>1{print $NF}')
docker tag tes3mp/server-armhf tes3mp/server-armhf:$TAG
docker push tes3mp/server-armhf:$TAG
if [ "$TRAVIS_BRANCH" == "master" ]; then
Expand Down

0 comments on commit 5db17d9

Please sign in to comment.