From 0d6708c2b395adcdc38ced781e54178a4f107d71 Mon Sep 17 00:00:00 2001 From: Martin Rojas Miguel Angel Date: Wed, 12 Dec 2018 10:04:14 +0100 Subject: [PATCH] TSK-759 Fix bluemix triggered deployment when a new release is done --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a06be4676..60e475b0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ jobs: - stage: "Release / Deploy" name: "Deploy stage" script: - - if [[ $FORCE_DEPLOY = true ]] + - if [[ $FORCE_DEPLOY = true ]]; then ci/copy-rest-spring.sh $VERSION; else ci/copy-rest-spring.sh $TRAVIS_TAG; fi @@ -79,4 +79,4 @@ jobs: space: Taskana on: all_branches: true - if: branch = master AND ((repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true)) + if: (repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true)