From 26019c7d06819c379a7097686bfcf8230d6a7fdd Mon Sep 17 00:00:00 2001 From: Mary Date: Mon, 24 Jan 2022 18:49:14 +0100 Subject: [PATCH] Fix regression on PR builds version number since new release system --- Ryujinx.Common/ReleaseInformations.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Common/ReleaseInformations.cs b/Ryujinx.Common/ReleaseInformations.cs index 1dcb4bf3..32a01948 100644 --- a/Ryujinx.Common/ReleaseInformations.cs +++ b/Ryujinx.Common/ReleaseInformations.cs @@ -1,4 +1,6 @@ -namespace Ryujinx.Common +using System.Reflection; + +namespace Ryujinx.Common { // DO NOT EDIT, filled by CI public static class ReleaseInformations @@ -25,7 +27,7 @@ } else { - return "1.0.0-dirty"; + return Assembly.GetEntryAssembly().GetCustomAttribute().InformationalVersion; } } }