From 1ecffed44e49a2faebf050738afd405c310ea399 Mon Sep 17 00:00:00 2001 From: Etienne Napoleone Date: Thu, 20 Sep 2018 15:10:30 +0700 Subject: [PATCH] chore(travis): fix condition for tagged builds --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a93964bb..21cb0378 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,4 +43,4 @@ stages: - name: Build and push image if: type != pull_request AND branch = master AND tag IS blank AND repo = tomochain/netstats - name: Build and push image (tagged) - if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/netstats + if: type != pull_request AND branch =~ ^v AND tag IS present AND repo = tomochain/netstats