You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(scripts): every known flags should be shifted before executing the sentry <foo> command (#3831)
Fixes#3526
Previously, if this was executed:
```bash
./scripts/backup.sh --no-report-self-hosted-issues
```
The final backup command that will be executed is:
```bash
docker compose run -v "${PWD}/sentry:/sentry-data/backup" --rm -T -e SENTRY_LOG_LEVEL=CRITICAL web export --no-report-self-hosted-issues /sentry-data/backup/backup.json
```
Which is invalid. This PR strips all known flags specific to self-hosted before passing it onto Sentry.
One other option is to enable "ignore unknown options" on click (the CLI dependency) on Sentry, but I don't want to go to that route.
0 commit comments