From 4f6ebae36c03bea6882c77a1c7841095e7c99049 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 10 Feb 2017 14:07:46 +0100 Subject: Check for tag in travis. --- scripts/docker_deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh index dcd03f9e..c9682c16 100755 --- a/scripts/docker_deploy.sh +++ b/scripts/docker_deploy.sh @@ -10,7 +10,7 @@ if [ "$TRAVIS_BRANCH" == "develop" ]; then elif [ "$TRAVIS_BRANCH" == "release"]; then docker tag ethereum/solc:build ethereum/solc:stable; docker push ethereum/solc:stable; -elif [ "$TRAVIS_BRANCH" == v"$version"]; then +elif [ "$TRAVIS_TAG" == v"$version"]; then docker tag ethereum/solc:build ethereum/solc:"$version"; docker push ethereum/solc:"$version"; -fi \ No newline at end of file +fi -- cgit v1.2.3