mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-31 17:57:36 +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
|
install: true
|
||||||
script:
|
script:
|
||||||
# Set up git user name and tag this commit
|
# Set up git user name and tag this commit
|
||||||
- git config --local user.name "creeper12313321"
|
- 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
|
||||||
- git config --local user.email "creeper123123321@gmail.com"
|
|
||||||
- export TRAVIS_TAG=${TRAVIS_TAG:-build-$TRAVIS_JOB_NUMBER}
|
|
||||||
- git tag -f $TRAVIS_TAG
|
|
||||||
- ./gradlew clean build
|
- ./gradlew clean build
|
||||||
|
Loading…
Reference in New Issue
Block a user