Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Conversation

@lobsterkatie
Copy link
Member

h/t to @carchrae for the initial work on this

This adds a new option, deleteSourceMaps (or SENTRY_DELETE_SOURCEMAPS as an env variable), which will delete sourcemaps after uploading them.

Really this should be done at the sentry-cli level (see getsentry/sentry-cli#1318), but in the meantime, we can do it manually.

Fixes #40

Ref: WOR-2638

Copy link

@carchrae carchrae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm curious why you have a yarn.lock file in here; was that intentional?

@lobsterkatie
Copy link
Member Author

i'm curious why you have a yarn.lock file in here; was that intentional?

Indeed it was. It's there because of the added rimraf dependency.

@lobsterkatie lobsterkatie merged commit 13d5831 into master Mar 9, 2023
@lobsterkatie lobsterkatie deleted the kmclb-add-deleteSourceMaps-option branch March 9, 2023 21:38
@uhlenbrock
Copy link

Is a new release necessary to use this via UI install in Netlify?

@nathan-knight
Copy link

When will a new version be published with this change? @lobsterkatie

@nathan-knight
Copy link

Just checking in again, is there an ETA for publishing this? @lobsterkatie @scttcper

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to delete sourcemaps after upload

5 participants