Hi, quick question about releases:
If I create releases with the Sentry CLI, do I still need to specify the release name in the Sentry init call with the SDK?
For example, if I create the release like this
sentry-cli releases new -p my-project my-release
sentry-cli releases set-commits my-release --auto
sentry-cli releases finalize my-release
sentry-cli releases deploys my-release new -e production
Do I need to init like this
Sentry.init({
dsn: 'https://foo@sentry.com/1',
release: 'my-release',
});
Or can I just do it like this
Sentry.init({
dsn: 'https://foo@sentry.com/1',
});
The reason I’m asking is that I’m wondering if we need to figure out how to get the release name to the init call, or if it works just as well if we just omit it, which would be technically a lot easier. Thanks!