Make changelog generator use LastWriteTime

Avoids cases where the date is incorrect if a list with the same name is compiled.
This commit is contained in:
Unnoen 2021-04-27 18:05:21 +10:00
parent 563de77205
commit 8231d5252c
No known key found for this signature in database
GPG Key ID: 8F8E42252BA20553

View File

@ -75,7 +75,7 @@ namespace Wabbajack.CLI.Verbs
var mdText =
$"## {update.Version}\n\n" +
$"**Build at:** `{File.GetCreationTime(Update)}`\n\n" +
$"**Build at:** `{File.GetLastWriteTime(Update)}`\n\n" +
"**Info**:\n\n" +
$"- Download Size change: {downloadSizeChanges.ToFileSizeString()} (Total: {update.DownloadSize.ToFileSizeString()})\n" +
$"- Install Size change: {installSizeChanges.ToFileSizeString()} (Total: {update.InstallSize.ToFileSizeString()})\n\n";