From 9d78bda4c50dc3fb68cb3c92bdd18c35fcab2551 Mon Sep 17 00:00:00 2001 From: etienne-napoleone Date: Tue, 21 Aug 2018 10:21:03 +0700 Subject: [PATCH] update .travis.yml fix the release conditions --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9827bc5c01..63c0501c50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -88,11 +88,11 @@ stages: - name: Lint - name: Build and test - name: Github release - if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/tomochain + if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain - name: Build and push untagged commit into image tomochain if: type != pull_request AND branch = master AND tag IS blank AND repo = tomochain/tomochain - name: Build and push tagged commit into image tomochain - if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/tomochain + if: type != pull_request AND branch = master AND tag IS present AND repo = tomochain/tomochain notifications: slack: