Created
November 17, 2017 21:40
-
-
Save teebu/4730a3faacbeac3235e2a5f76274d763 to your computer and use it in GitHub Desktop.
Setting up Sentry in travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set env variables in travis.yml: | |
``` | |
export SENTRY_AUTH_TOKEN=... | |
export SENTRY_ORG=organization-slug | |
``` | |
update_sentry.sh: | |
``` | |
#!/bin/sh | |
VERSION=$(sentry-cli releases propose-version) | |
sentry-cli releases new -p my-project -p my-other-project $VERSION | |
sentry-cli releases set-commits --auto $VERSION | |
# once you are done, finalize | |
sentry-cli releases finalize $VERSION | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment