### Is there an existing issue for this? - [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [X] I have reviewed the documentation https://docs.sentry.io/ - [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases ### How do you use Sentry? Sentry Saas (sentry.io) ### Which package are you using? @sentry/gatsby ### SDK Version "@sentry/gatsby": "^7.6.0", ### Framework Version "gatsby": "2.27.5", ### Link to Sentry event _No response_ ### Steps to Reproduce 1. configure `@sentry/gatsby` in `gatsby-config.js`, set the `release` 2. build gatsby in a very bare container where you have no git information 3. see the build fail with Sentry CLI Plugin: Unable to determine version. Make sure to include `release` option or use the environment that supports auto-detection https://docs.sentry.io/cli/releases/#creating-releases 4. try setting all kinds of env variables, such as `SENTRY_RELEASE` 5. see the build fail anyway 6. look into the plugin code and realise that the release option never gets sent to webpack https://github.com/getsentry/sentry-javascript/blob/master/packages/gatsby/gatsby-node.js#L35 ### Expected Result my app builds ### Actual Result my app doesn't build
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/gatsby
SDK Version
"@sentry/gatsby": "^7.6.0",
Framework Version
"gatsby": "2.27.5",
Link to Sentry event
No response
Steps to Reproduce
configure
@sentry/gatsbyingatsby-config.js, set thereleasebuild gatsby in a very bare container where you have no git information
see the build fail with
https://docs.sentry.io/cli/releases/#creating-releases
SENTRY_RELEASEExpected Result
my app builds
Actual Result
my app doesn't build