Skip to content

Commit

Permalink
run sentry-cli in git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 12, 2019
1 parent 9b3ce4a commit 81cf313
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ after_success:

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;
fi

sentry-cli releases set-commits --auto lupo:${GIT_TAG};

cd mastino;
git remote;
Expand All @@ -95,15 +101,6 @@ after_success:
git commit -m "Adding lupo git variables for latest commit";
git push "https://${TRAVIS_SECURE_TOKEN}@github.com/datacite/mastino.git" master;
fi

if [ "${TRAVIS_TAG?}" ]; then
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;
fi

sentry-cli releases set-commits --auto lupo:${GIT_TAG};
fi

notifications:
Expand Down

0 comments on commit 81cf313

Please sign in to comment.