mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-10-05 05:17:29 +02:00
Create a tag before build
This commit is contained in:
parent
c875884619
commit
71af9ea018
11
.travis.yml
11
.travis.yml
@ -6,12 +6,6 @@ cache:
|
||||
directories:
|
||||
- "$HOME/.gradle/caches/"
|
||||
- "$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:
|
||||
provider: releases
|
||||
api_key:
|
||||
@ -23,4 +17,9 @@ deploy:
|
||||
repo: ViaVersion/ViaFabric
|
||||
install: true
|
||||
script:
|
||||
# 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
|
||||
- ./gradlew clean build
|
||||
|
Loading…
Reference in New Issue
Block a user