From 1886c6f8ed9cb36e6b7793c911f28b70e612bea2 Mon Sep 17 00:00:00 2001 From: Razican Date: Sun, 9 Dec 2018 23:03:38 +0100 Subject: [PATCH] Added glob patterns for releases --- .travis.yml | 1 + travis-helper.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index a8c155d4a..74189c828 100644 --- a/.travis.yml +++ b/.travis.yml @@ -88,6 +88,7 @@ jobs: deploy: &releases provider: releases api_key: $GH_TOKEN + file_glob: true file: releases/* skip_cleanup: true prerelease: true # TODO: remove on 1.0 diff --git a/travis-helper.sh b/travis-helper.sh index 7fa588c68..8d66d3107 100755 --- a/travis-helper.sh +++ b/travis-helper.sh @@ -77,6 +77,7 @@ elif [ "$action" = "deploy" ]; then if [[ $TRAVIS_TAG ]]; then mkdir -pv releases && for PACKAGE in "debian" "ubuntu" "fedora" "centos"; do + echo "Making distribution package for $PACKAGE release" && docker pull "superandroidanalyzer/$PACKAGE:latest" && 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"