Skip to content

Commit

Permalink
Fix .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t13a committed May 30, 2020
1 parent 1480ab2 commit d3a6917
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ services:

script:
- make
- echo "TRAVIS_BRANCH=${TRAVIS_BRANCH}"
- echo "TRAVIS_TAG=${TRAVIS_TAG}"

before_deploy:
- export TRAVIS_TAG="${TRAVIS_TAG:-${TRAVIS_BRANCH}}"

deploy:
provider: releases
Expand All @@ -14,5 +19,6 @@ deploy:
file: out/*.iso
skip_cleanup: true
on:
tags: true
all_branches: true
condition: "${TRAVIS_TAG:-${TRAVIS_BRANCH}}" =~ ^v[0-9]
overwrite: true

0 comments on commit d3a6917

Please sign in to comment.