We currently do:
sentry-cli releases delete $(REVISION)
sentry-cli releases new $(REVISION)
and then we upload sourcemaps:
sentry-cli releases --project our-project files $(REVISION) upload-sourcemaps --url-prefix https://cdn.example.com/assets/$(REVISION) dist/exploded
Couple questions:
- Is there a general best practices somewhere how to do sentry with CI/CD pipelines?
- We have the delete/new steps from way back - noone remembers why we do the delete/new - anyone knows why we would be doing it?
- We currently do not finalize the releases - any concern about that?