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
The CLI already supports creating a release, but not injecting one.
There are some Sentry JavaScript SDKs (Next.js, React Router and soon Nuxt) which rather use the Sentry Plugin Manager (which calls the CLI) to inject debug IDs than using the bundler plugins for that. Sometimes it's not possible to add bundler plugins, or the frameworks are exposing build-end hooks, where we can just call the CLI methods at the end of the build.
Release injection currently only works through the bundler plugins (code) and could be added to the CLI as well.
I think it may make sense to perform the release injection alongside the debug ID injection, perhaps within the sentry-cli sourcemaps inject command itself.
There is the case that people disable everything related to source maps (and therefore debug IDs) and only want to add a release. So it would make sense to have a separate command for that.
Activity
linear commentedon Jan 26, 2026
CLI-271
szokeasaurusrex commentedon Jan 26, 2026
I think it may make sense to perform the release injection alongside the debug ID injection, perhaps within the
sentry-cli sourcemaps injectcommand itself.Does that sound reasonable to you @s1gr1d?
s1gr1d commentedon Jan 26, 2026
There is the case that people disable everything related to source maps (and therefore debug IDs) and only want to add a release. So it would make sense to have a separate command for that.