aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary <mary@mary.zone>2022-01-24 18:49:14 +0100
committerMary <mary@mary.zone>2022-01-24 18:49:14 +0100
commit26019c7d06819c379a7097686bfcf8230d6a7fdd (patch)
tree2dc85d9e03008d3929e1078ce7d8d6a1ef7854fc
parentf3bfd799e1ca3b52b8e5ad45fdd0f2505c9122d1 (diff)
Fix regression on PR builds version number since new release system1.1.8
-rw-r--r--Ryujinx.Common/ReleaseInformations.cs6
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;
}
}
}