diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 527d8b948..6b723fb63 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -363,7 +363,7 @@ stages: - bash: | echo "Uploading source maps to sentry" curl -sL https://sentry.io/get-cli/ | bash - RELEASENAME="${RADARRVERSION}-${BUILD_SOURCEBRANCHNAME}" + RELEASENAME="Radarr@${RADARRVERSION}-${BUILD_SOURCEBRANCHNAME}" sentry-cli releases new --finalize -p radarr -p radarr-ui -p radarr-update "${RELEASENAME}" sentry-cli releases -p radarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite sentry-cli releases set-commits --auto "${RELEASENAME}" diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index bcdf1d8e1..19dd3ebac 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -106,7 +106,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry o.Dsn = dsn; o.AttachStacktrace = true; o.MaxBreadcrumbs = 200; - o.Release = BuildInfo.Release; + o.Release = $"{BuildInfo.AppName}@{BuildInfo.Release}"; o.BeforeSend = x => SentryCleanser.CleanseEvent(x); o.BeforeBreadcrumb = x => SentryCleanser.CleanseBreadcrumb(x); o.Environment = BuildInfo.Branch;