Deprecate SENTRY_RELEASE since we use package.json now
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user