feat(dashboard): add git commit hash to Sentry release

This commit is contained in:
spiral
2022-06-05 13:07:56 -04:00
parent a18fd9bd0d
commit 0046ca6859
2 changed files with 7 additions and 3 deletions

View File

@@ -7,7 +7,8 @@ Sentry.init({
enabled: !window.location.origin.includes("localhost"),
debug: false,
release: "dev",
// @ts-expect-error
release: window.pluralkitVersion,
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production