Use VERSION as sentry release (set by packaging scripts) (#7008)

This will be undefined for dev builds.
This commit is contained in:
James Salter 2021-10-22 15:06:01 +01:00 committed by GitHub
parent e20ac7bf1e
commit a4e3c4090c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,7 +201,7 @@ export async function initSentry(sentryConfig: ISentryConfig): Promise<void> {
if (!sentryConfig) return;
Sentry.init({
dsn: sentryConfig.dsn,
release: process.env.RELEASE,
release: process.env.VERSION,
environment: sentryConfig.environment,
defaultIntegrations: false,
autoSessionTracking: false,