Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Only build if commit is not tagged.
Browse files Browse the repository at this point in the history
Should fix the infinite build loop on travis-ci
  • Loading branch information
nailujx86 committed Mar 18, 2018
1 parent badbfe9 commit 0fc665d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 0fc665d

Please sign in to comment.