Setting up Travis-CI upload to GitHub Releases

This commit is contained in:
2017-10-06 00:18:51 -07:00
parent 00cb8af134
commit 775b2d4db2

View File

@@ -23,12 +23,12 @@ script:
- cd build - cd build
- cmake .. && make - cmake .. && make
- cd archive - cd archive
- tar czf kraken-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.gz * - tar czf kraken-$TRAVIS_OS_NAME-$TRAVIS_TAG.tar.gz *
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN
file: "build/archive/kraken-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tgz" file: build/archive/kraken-$TRAVIS_OS_NAME-$TRAVIS_TAG.tar.gz
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true