Skip to content

Commit

Permalink
generate a release in stage as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 12, 2019
1 parent 304909d commit e5d00cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e5d00cd

Please sign in to comment.