1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 23:27:15 +08:00

🚑 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
Unverified
parent e4faeb677d
commit 384cdcbc40
2 changed files with 2 additions and 2 deletions
+1 -1
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 }}
+1 -1
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;