diff --git a/.travis.yml b/.travis.yml index df9838c..95c5164 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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