diff --git a/.travis.yml b/.travis.yml index 82018d2ebbc..542f24c9499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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