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'