diff --git a/travis-helper.sh b/travis-helper.sh index 68984ebea..7fa588c68 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 "superandroidanalyzer/$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 "superandroidanalyzer/$PACKAGE:latest" &&