chore(sentry): alwys use the same version

This commit is contained in:
kolaente 2023-06-18 15:00:00 +02:00
parent 96c9407414
commit 95ba8b8a11
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 1 additions and 4 deletions

View File

@ -74,8 +74,6 @@ steps:
from_secret: sentry_auth_token
SENTRY_ORG: vikunja
SENTRY_PROJECT: frontend-oss
SENTRY_RELEASE:
from_secret: sentry_release
commands:
- corepack enable && pnpm config set store-dir .cache/pnpm
- pnpm run build

1
env.d.ts vendored
View File

@ -24,7 +24,6 @@ interface ImportMetaEnv {
readonly SENTRY_AUTH_TOKEN?: string
readonly SENTRY_ORG?: string
readonly SENTRY_PROJECT?: string
readonly SENTRY_RELEASE?: string
readonly VITE_WORKBOX_DEBUG?: boolean
readonly VITE_IS_ONLINE: boolean

View File

@ -48,7 +48,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions {
authToken: env.SENTRY_AUTH_TOKEN,
org: env.SENTRY_ORG,
project: env.SENTRY_PROJECT,
release: env.SENTRY_VERSION || VERSION,
release: VERSION,
deploy: {
env: env.mode === 'production'
? 'production'