mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-10 09:19:11 +08:00
Upload to assets to GitHub
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user