mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-21 16:17:37 +01:00
Only tag if travis is building without a tag
This commit is contained in:
parent
9324b3a756
commit
3676c07a04
@ -19,8 +19,5 @@ deploy:
|
||||
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 -f $TRAVIS_TAG
|
||||
- if [ -z $TRAVIS_TAG ]; then; git config --local user.name "creeper12313321"; git config --local user.email "creeper123123321@gmail.com"; export TRAVIS_TAG=build-$TRAVIS_JOB_NUMBER; git tag -f $TRAVIS_TAG
|
||||
- ./gradlew clean build
|
||||
|
Loading…
Reference in New Issue
Block a user