From a4e3c4090cff253e11a9a347fddafa0392069286 Mon Sep 17 00:00:00 2001 From: James Salter Date: Fri, 22 Oct 2021 15:06:01 +0100 Subject: [PATCH] Use VERSION as sentry release (set by packaging scripts) (#7008) This will be undefined for dev builds. --- src/sentry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry.ts b/src/sentry.ts index 559737e265..8a6f4fa362 100644 --- a/src/sentry.ts +++ b/src/sentry.ts @@ -201,7 +201,7 @@ export async function initSentry(sentryConfig: ISentryConfig): Promise { if (!sentryConfig) return; Sentry.init({ dsn: sentryConfig.dsn, - release: process.env.RELEASE, + release: process.env.VERSION, environment: sentryConfig.environment, defaultIntegrations: false, autoSessionTracking: false,