Upload to assets to GitHub

This commit is contained in:
Vidar Holen
2020-03-07 16:16:47 -08:00
parent 7b998239af
commit 9b66bc2f13
3 changed files with 62 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ jobs:
before_install: |
DOCKER_BASE="$DOCKER_USERNAME/shellcheck"
DOCKER_BUILDS=""
TAGS=""
export TAGS=""
test "$TRAVIS_BRANCH" = master && TAGS="$TAGS latest" || true
test -n "$TRAVIS_TAG" && TAGS="$TAGS stable $TRAVIS_TAG" || true
echo "Tags are $TAGS"
@@ -36,6 +36,7 @@ script:
- ./striptests
- set -ex; build_"$BUILD"; set +x;
- ./.prepare_deploy
- ./.github_deploy
after_failure: |
id
@@ -54,5 +55,5 @@ deploy:
local_dir: deploy
on:
repo: koalaman/shellcheck
condition: $TRAVIS_BUILD_STAGE_NAME = Test
condition: $TRAVIS_BUILD_STAGE_NAME = "Build binaries"
all_branches: true