Setting up Travis-CI upload to GitHub Releases
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user