From 2df96dfc13b63e9c9d9b8584d83ff7e6c4338675 Mon Sep 17 00:00:00 2001 From: John Hobbs Date: Mon, 7 Oct 2024 14:45:41 -0500 Subject: [PATCH] Add project prefix to Sentry release --- tsup.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsup.config.ts b/tsup.config.ts index 28c86176f..95c0d609b 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -20,7 +20,7 @@ export default defineConfig((options) => [ target: 'node16', // Storybook still supports Node 16 env: { SENTRY_ENVIRONMENT: process.env.CI ? 'production' : 'development', - SENTRY_RELEASE: process.env.SENTRY_RELEASE || 'development', + SENTRY_RELEASE: `chromatic-cli@${process.env.SENTRY_RELEASE || 'development'}`, }, }, { @@ -36,7 +36,7 @@ export default defineConfig((options) => [ target: 'node20', // Sync with `runs.using` in action.yml env: { SENTRY_ENVIRONMENT: process.env.CI ? 'production' : 'development', - SENTRY_RELEASE: process.env.SENTRY_RELEASE || 'development', + SENTRY_RELEASE: `chromatic-cli@${process.env.SENTRY_RELEASE || 'development'}`, }, }, ]);