Skip to content

Commit

Permalink
Add project prefix to Sentry release
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhobbs committed Oct 7, 2024
1 parent fd56fdb commit 2df96df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'}`,
},
},
{
Expand All @@ -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'}`,
},
},
]);

0 comments on commit 2df96df

Please sign in to comment.