Skip to content

Commit

Permalink
Merge branch 'main' into better-emoji-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge authored Jan 8, 2025
2 parents 7ae2f1a + c1e27cc commit 0f7cfc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-goats-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gitbook': patch
---

Fix pass Sentry release properly
2 changes: 2 additions & 0 deletions packages/gitbook/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = withSentryConfig(
{
env: {
BUILD_VERSION: (process.env.GITHUB_SHA ?? '').slice(0, 7),
SENTRY_RELEASE: process.env.SENTRY_RELEASE ?? '',
SENTRY_DSN: process.env.SENTRY_DSN ?? '',
SENTRY_ENVIRONMENT: process.env.SENTRY_ENVIRONMENT ?? 'development',
GITBOOK_ASSETS_PREFIX: process.env.GITBOOK_ASSETS_PREFIX,
Expand Down Expand Up @@ -67,6 +68,7 @@ module.exports = withSentryConfig(
},
},
{
release: process.env.SENTRY_RELEASE,
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
Expand Down

0 comments on commit 0f7cfc4

Please sign in to comment.