From 0fc665d88b27873e78a04133347718ab01112ad2 Mon Sep 17 00:00:00 2001 From: Julian Blazek Date: Sun, 18 Mar 2018 01:09:55 +0100 Subject: [PATCH] Only build if commit is not tagged. Should fix the infinite build loop on travis-ci --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 583df32..7763a9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ jdk: - openjdk8 os: - linux +if: tag IS blank before_deploy: - export GIT_TAG=$TRAVIS_BRANCH-0.1.$TRAVIS_BUILD_NUMBER - git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER. Built with oraclejdk8."