From e5d00cd1e152150314db3d63de1df188312868ad Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 12 Mar 2019 12:44:07 +0100 Subject: [PATCH] generate a release in stage as well --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1197a27b..2614e8c2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,9 +77,10 @@ after_success: git clone "https://${TRAVIS_SECURE_TOKEN}@github.com/datacite/mastino.git"; ./dockerize -template vendor/docker/_lupo.auto.tfvars.tmpl:mastino/stage/services/client-api/_lupo.auto.tfvars; + sentry-cli releases new lupo:${GIT_TAG} --finalize --project lupo; + if [ "${TRAVIS_TAG?}" ]; then ./dockerize -template vendor/docker/_lupo.auto.tfvars.tmpl:mastino/prod-eu-west/services/client-api/_lupo.auto.tfvars; - sentry-cli releases new lupo:${GIT_TAG} --finalize --project lupo; sentry-cli releases deploys lupo:${GIT_TAG} new -e production; else sentry-cli releases deploys lupo:${GIT_TAG} new -e stage;