mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09:00
🚑 Fix use of illegal character in Sentry's release name scheme
This commit is contained in:
parent
e4faeb677d
commit
384cdcbc40
2
.github/workflows/sentry-release.yml
vendored
2
.github/workflows/sentry-release.yml
vendored
@ -23,4 +23,4 @@ jobs:
|
||||
SENTRY_URL: https://sentry.ppy.sh/
|
||||
with:
|
||||
environment: production
|
||||
version: osu/${{ github.ref_name }}
|
||||
version: osu@${{ github.ref_name }}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user