Skip to content

Add release config to @sentry/nuxt sourceMapUploadOptions #14337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaap3 opened this issue Nov 18, 2024 · 2 comments
Closed

Add release config to @sentry/nuxt sourceMapUploadOptions #14337

jaap3 opened this issue Nov 18, 2024 · 2 comments
Assignees

Comments

@jaap3
Copy link

jaap3 commented Nov 18, 2024

Problem Statement

I'm trying out the @sentry/nuxt module and noticed that the sourcemaps are uploaded with a version set to whatever the git HEAD commit is at. I'd like to be able to set the version to something more representative, preferably the same version as we set in the Sentry.init call.

Solution Brainstorm

I've now set it using:

unstable_sentryBundlerPluginOptions: {
  release: {
    name: `${PACKAGE}@${VERSION}`,
  },
}
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 18, 2024
@lforst lforst added the Package: nuxt Issues related to the Sentry Nuxt SDK label Nov 18, 2024
@lforst
Copy link
Member

lforst commented Nov 18, 2024

Thanks for writing in. I backlogged this. It very much ties into #14212.

@s1gr1d
Copy link
Member

s1gr1d commented Apr 8, 2025

This was added a while ago in #15246

@s1gr1d s1gr1d closed this as completed Apr 8, 2025
@stephanie-anderson stephanie-anderson added the Nuxt label Apr 16, 2025 — with Linear
@stephanie-anderson stephanie-anderson removed the Package: nuxt Issues related to the Sentry Nuxt SDK label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants