fix rebuilding on travis

This commit is contained in:
creeper123123321 2019-10-24 19:40:06 -03:00
parent 286f3c7f08
commit 2f3ada6ebe
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -19,5 +19,5 @@ deploy:
install: true
script:
# Set up git user name and tag this commit
- 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 $TRAVIS_TAG; fi
- if [ -z $TRAVIS_TAG ] && [ -z $(git tag -l --points-at HEAD) ]; then git config --local user.name "creeper12313321"; git config --local user.email "7974274+creeper123123321@users.noreply.github.com"; export TRAVIS_TAG=build-$TRAVIS_JOB_NUMBER; git tag $TRAVIS_TAG; fi
- ./gradlew clean build