From 95ba8b8a1169165191bf5aa5a3474da2c76b249b Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 18 Jun 2023 15:00:00 +0200 Subject: [PATCH] chore(sentry): alwys use the same version --- .drone.yml | 2 -- env.d.ts | 1 - vite.config.ts | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index aea9141e..2cd7c008 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/env.d.ts b/env.d.ts index c9b45113..7bfd9655 100644 --- a/env.d.ts +++ b/env.d.ts @@ -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 diff --git a/vite.config.ts b/vite.config.ts index 9cd30bdc..c67e36b5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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'