From 7a678be386a5c88bad99f88cc2ba07d37ed8a206 Mon Sep 17 00:00:00 2001 From: Razican Date: Sun, 9 Dec 2018 21:32:18 +0100 Subject: [PATCH] Fixed deployment --- travis-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis-helper.sh b/travis-helper.sh index 96c4de567..ca2e434ff 100755 --- a/travis-helper.sh +++ b/travis-helper.sh @@ -73,8 +73,8 @@ elif [ "$action" = "dist_test" ]; then docker run -d -t -e TAG=$TAG -v $TRAVIS_BUILD_DIR:/root/super --name "$package" --privileged "$package:latest" "/bin/bash" && docker exec "$package" "/root/super/`echo $package`_build.sh" -elif [ "action" = "deploy" ]; then - if [ -n "$TRAVIS_TAG" ]; then +elif [ "$action" = "deploy" ]; then + if [[ $TRAVIS_TAG ]]; then mkdir -pv releases && for PACKAGE in "debian" "ubuntu" "fedora" "centos"; do docker pull "$PACKAGE:latest" &&