Skip to content

Add script for injection Sentry Release #3100

@s1gr1d

Description

@s1gr1d

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIProduct area

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions