TSK-632: fixed env variables in travis config file

This commit is contained in:
Mustapha Zorgati 2018-08-30 10:00:47 +02:00 committed by Martin Rojas Miguel Angel
parent 4afbb039d9
commit f29926bfa3
1 changed files with 2 additions and 2 deletions

View File

@ -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