diff options
author | Mary <mary@mary.zone> | 2022-01-24 18:49:14 +0100 |
---|---|---|
committer | Mary <mary@mary.zone> | 2022-01-24 18:49:14 +0100 |
commit | 26019c7d06819c379a7097686bfcf8230d6a7fdd (patch) | |
tree | 2dc85d9e03008d3929e1078ce7d8d6a1ef7854fc | |
parent | f3bfd799e1ca3b52b8e5ad45fdd0f2505c9122d1 (diff) |
Fix regression on PR builds version number since new release system1.1.8
-rw-r--r-- | Ryujinx.Common/ReleaseInformations.cs | 6 |
1 files 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<AssemblyInformationalVersionAttribute>().InformationalVersion; } } } |