Skip to content

Instantly share code, notes, and snippets.

@bcye
Created February 18, 2019 08:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bcye/82982d401f38a1511a6fe51ccf712043 to your computer and use it in GitHub Desktop.
if which sentry-cli >/dev/null; then
export SENTRY_ORG=yourorg
export SENTRY_PROJECT=yourproject
export SENTRY_AUTH_TOKEN=yourtoken
ERROR=$(sentry-cli upload-dif "$DWARF_DSYM_FOLDER_PATH" 2>&1 >/dev/null)
if [ ! $? -eq 0 ]; then
echo "warning: sentry-cli - $ERROR"
fi
else
echo "warning: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment