mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat: ✨ Add git commit SHAs to Sentry release
This commit is contained in:
parent
152e42fd30
commit
420a0d05dc
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ const sentryInstance =
|
|||
environment: config.logging.sentry.environment,
|
||||
tracePropagationTargets:
|
||||
config.logging.sentry.trace_propagation_targets,
|
||||
release: pkg.version,
|
||||
release: Bun.env.GIT_COMMIT
|
||||
? `${pkg.version}-${Bun.env.GIT_COMMIT}`
|
||||
: pkg.version,
|
||||
});
|
||||
|
||||
export const sentry = sentryInstance || undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue