mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-08 09:40:07 +01:00
Use travis build number as a tag
This commit is contained in:
parent
79ab452ec8
commit
c875884619
@ -6,6 +6,12 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- "$HOME/.gradle/caches/"
|
- "$HOME/.gradle/caches/"
|
||||||
- "$HOME/.gradle/wrapper/"
|
- "$HOME/.gradle/wrapper/"
|
||||||
|
before_deploy:
|
||||||
|
# Set up git user name and tag this commit
|
||||||
|
- git config --local user.name "creeper12313321"
|
||||||
|
- git config --local user.email "creeper123123321@gmail.com"
|
||||||
|
- export TRAVIS_TAG=${TRAVIS_TAG:-build-$TRAVIS_JOB_NUMBER}
|
||||||
|
- git tag $TRAVIS_TAG
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user