Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Added glob patterns for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Dec 9, 2018
1 parent 6b2de11 commit 1886c6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions travis-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1886c6f

Please sign in to comment.