mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
fix: use effective version in changelog (#947)
This commit is contained in:
parent
edbe21d2b8
commit
a3a9f9e624
1 changed files with 1 additions and 4 deletions
|
|
@ -21,10 +21,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
||||||
if (plugin.Manifest.Changelog.IsNullOrEmpty())
|
if (plugin.Manifest.Changelog.IsNullOrEmpty())
|
||||||
throw new ArgumentException("Manifest has no changelog.");
|
throw new ArgumentException("Manifest has no changelog.");
|
||||||
|
|
||||||
var version = plugin.AssemblyName?.Version;
|
var version = plugin.Manifest.EffectiveVersion;
|
||||||
version ??= plugin.Manifest.Testing
|
|
||||||
? plugin.Manifest.TestingAssemblyVersion
|
|
||||||
: plugin.Manifest.AssemblyVersion;
|
|
||||||
|
|
||||||
this.Version = version!.ToString();
|
this.Version = version!.ToString();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue