diff --git a/README.md b/README.md index 590043e..a630103 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ An iOS app integrating Sentry to demo its various product features. See [Empower - Install XCode - In a terminal, run: - `make init` - - `sentry-cli login` (see [`sentry-cli` docs](https://docs.sentry.io/product/cli/) for more info) + - `sentry-cli login` (see [`sentry-cli` docs](https://docs.sentry.io/product/cli/) for more info) and use an **org-level** auth token from the `demo` org ## Run Open Xcode and click the "Play" button or press ⌘R diff --git a/upload-symbols.sh b/upload-symbols.sh index 9516a0e..41ff2f3 100755 --- a/upload-symbols.sh +++ b/upload-symbols.sh @@ -9,7 +9,7 @@ if which sentry-cli >/dev/null; then fi if [ -z "$SENTRY_AUTH_TOKEN" ]; then if [ -f ~/.sentryclirc ]; then - export SENTRY_AUTH_TOKEN=$(grep -oE "token=(.*)$" ~/.sentryclirc | cut -d'=' -f2) + export SENTRY_AUTH_TOKEN=$(grep -oE "token=(.*)$" ~/.sentryclirc | sed s/'token='//) echo "Using SENTRY_AUTH_TOKEN from .sentryclirc." fi if [ -f ~/.zshrc ] && grep -q "export SENTRY_AUTH_TOKEN" ~/.zshrc; then