From 4fd570ef815bd290a17f3c63e535466dfd16ca43 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati Date: Thu, 30 Aug 2018 10:00:47 +0200 Subject: [PATCH] TSK-632: fixed env variables in travis config file --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c5406c8eb..d9b324657 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ jobs: space: Taskana on: all_branches: true - if: repo = $DEPLOY_REPO AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ + if: repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ - stage: "Release / Deploy" script: - ci/release.sh lib/taskana-core $TRAVIS_TAG @@ -69,4 +69,4 @@ jobs: && ci/release.sh lib/taskana-cdi $TRAVIS_TAG && ci/release.sh web/ $TRAVIS_TAG && ci/release.sh rest/taskana-rest-spring $TRAVIS_TAG - if: repo = $DEPLOY_REPO AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request + if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request