From a3a9f9e624b0423983a582c42ff2e8b2a067ee4f Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Mon, 1 Aug 2022 16:24:23 +0200 Subject: [PATCH] fix: use effective version in changelog (#947) --- .../Internal/Windows/PluginInstaller/PluginChangelogEntry.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginChangelogEntry.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginChangelogEntry.cs index 0326081f5..1133090e0 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginChangelogEntry.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginChangelogEntry.cs @@ -21,10 +21,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller if (plugin.Manifest.Changelog.IsNullOrEmpty()) throw new ArgumentException("Manifest has no changelog."); - var version = plugin.AssemblyName?.Version; - version ??= plugin.Manifest.Testing - ? plugin.Manifest.TestingAssemblyVersion - : plugin.Manifest.AssemblyVersion; + var version = plugin.Manifest.EffectiveVersion; this.Version = version!.ToString(); }