mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 15:33:21 +08:00
🔧 Add prefix to Sentry release name
This commit is contained in:
parent
7da302d707
commit
cb37dd74c1
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/
|
SENTRY_URL: https://sentry.ppy.sh/
|
||||||
with:
|
with:
|
||||||
environment: production
|
environment: production
|
||||||
version: ${{ github.ref }}
|
version: osu/${{ github.ref_name }}
|
||||||
|
@ -48,9 +48,8 @@ namespace osu.Game.Utils
|
|||||||
|
|
||||||
options.AutoSessionTracking = true;
|
options.AutoSessionTracking = true;
|
||||||
options.IsEnvironmentUser = false;
|
options.IsEnvironmentUser = false;
|
||||||
// The reported release needs to match release tags on github in order for sentry
|
// The reported release needs to match version as reported to Sentry in .github/workflows/sentry-release.yml
|
||||||
// to automatically associate and track against releases.
|
options.Release = $"osu/{game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty)}";
|
||||||
options.Release = game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Logger.NewEntry += processLogEntry;
|
Logger.NewEntry += processLogEntry;
|
||||||
|
Loading…
Reference in New Issue
Block a user