Skip to content

Commit

Permalink
Merge pull request #63 from shiftkey/publish-tagged-builds
Browse files Browse the repository at this point in the history
build packages on Travis when a tag is pushed
  • Loading branch information
shiftkey authored Sep 17, 2018
2 parents 733da8b + 4378305 commit 58dc94a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,21 @@ script:

after_failure:
- yarn test:review

after_success:
- yarn run package

deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- ${TRAVIS_BUILD_DIR}/dist/*.yml
- ${TRAVIS_BUILD_DIR}/dist/*.AppImage
- ${TRAVIS_BUILD_DIR}/dist/*.deb
- ${TRAVIS_BUILD_DIR}/dist/*.rpm
skip_cleanup: true
draft: true
tag_name: $TRAVIS_TAG
on:
tags: true

0 comments on commit 58dc94a

Please sign in to comment.