mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
feat: ✨ Add git commit SHAs to Sentry release
This commit is contained in:
parent
152e42fd30
commit
420a0d05dc
|
|
@ -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…
Reference in a new issue