🚑 Fix use of illegal character in Sentry's release name scheme

This commit is contained in:
Hugo "ThePooN" Denizart 2022-06-01 18:12:29 +02:00
parent e4faeb677d
commit 384cdcbc40
2 changed files with 2 additions and 2 deletions

View File

@ -23,4 +23,4 @@ jobs:
SENTRY_URL: https://sentry.ppy.sh/
with:
environment: production
version: osu/${{ github.ref_name }}
version: osu@${{ github.ref_name }}

View File

@ -49,7 +49,7 @@ namespace osu.Game.Utils
options.AutoSessionTracking = true;
options.IsEnvironmentUser = false;
// The reported release needs to match version as reported to Sentry in .github/workflows/sentry-release.yml
options.Release = $"osu/{game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty)}";
options.Release = $"osu@{game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty)}";
});
Logger.NewEntry += processLogEntry;