Setting up Travis-CI upload to GitHub Releases
This commit is contained in:
@@ -23,12 +23,12 @@ script:
|
||||
- cd build
|
||||
- cmake .. && make
|
||||
- cd archive
|
||||
- tar czf kraken-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.gz *
|
||||
- tar czf kraken-$TRAVIS_OS_NAME-$TRAVIS_TAG.tar.gz *
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
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
|
||||
on:
|
||||
tags: true
|
||||
|
||||
Reference in New Issue
Block a user