diff --git a/site/vite.config.ts b/site/vite.config.ts index d61c218c2..62cd376fa 100644 --- a/site/vite.config.ts +++ b/site/vite.config.ts @@ -20,7 +20,8 @@ const branch = (mode: string) => getBranch(mode) const sentryReleaseName = (mode: string) => env(mode).VITE_GITHUB_SHA - ? `${branch(mode)}-` + env(mode).VITE_GITHUB_SHA?.substring(0, 7) + ? `${branch(mode).split('/').at(-1)}-` + + env(mode).VITE_GITHUB_SHA?.substring(0, 7) : undefined export default defineConfig(({ command, mode }) => ({