Release doesn't have uploaded artifacts #11620
-
@sentry/nextjs: 7.48.0 Hello, I came here to solve the problem of artifacts not being uploaded to release. I am guessing that customizing the release name and assigning it to the SENTRY_RELEASE env is the cause. // next.config.js
...
const id = ...
const sha = ...
const ident = ...
process.env.SENTRY_RELEASE = `${id}:${sha}-${ident}`
withSentryConfig(nextConfig, { dryRun: true, silent: true }, { hideSourceMaps: true, transpileClientSDK: true })
... The reason why I assign it directly to env instead of using so, Could handling the release name like this have anything to do with artifacts not being uploaded? Or is there something else worth suspecting? Below are my project config
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You have Also, I recommend setting |
Beta Was this translation helpful? Give feedback.
You have
dryRun
set to true, which means the SDK will not upload anything.Also, I recommend setting
silent: false
when you're debugging!