Deprecate SENTRY_RELEASE since we use package.json now

This commit is contained in:
Eric Bailey
2025-07-22 18:22:10 -05:00
parent 01b3162c18
commit 5eb725857f
9 changed files with 8 additions and 26 deletions
-6
View File
@@ -63,12 +63,6 @@ export const CHAT_PROXY_DID: Did =
*/
export const SENTRY_DSN: string | undefined = process.env.SENTRY_DSN
/**
* Populates the `release` value on Sentry events. This is the version of the
* app specified in the package.json.
*/
export const SENTRY_RELEASE: string = process.env.SENTRY_RELEASE || 'dev'
/**
* Populates the `dist` value on Sentry events. We use the full commit hash the
* current bundle was made from.
+1 -1
View File
@@ -13,7 +13,7 @@ import * as env from '#/env'
* - `dev`
* - `1.99.0`
*/
const release = env.SENTRY_RELEASE || pkgJson.version
const release = pkgJson.version
/**
* The latest deployed commit hash