setup travis for releases

This commit is contained in:
Bella 2020-04-26 22:12:19 -04:00
parent ef9c1373c9
commit 146cd0fe71
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
1 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@ before_install:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- chmod +x gradlew
- "./gradlew setupDecompWorkspace"
before_deploy:
- export TAG_NAME="$(git log --format=%h -1)"
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key:
@ -14,7 +17,7 @@ deploy:
file_glob: true
skip_cleanup: true
on:
repo: kami-blue/client
tags: true
repo: kami-blue/nightly-releases
tags: false
after_success:
- "./scripts/hook.sh"