Provide name of product in changelog (#945)

* Provide name of product in changelog

fixes #944

* Change of headline-string
This commit is contained in:
Alexander Raab
2021-06-27 11:02:33 +02:00
committed by GitHub
parent 49bb96e92d
commit 2b8b0e5c6d

View File

@@ -89,12 +89,12 @@ namespace QuickLook.Helpers
{
var json = DownloadJson("https://api.github.com/repos/xupefei/QuickLook/releases");
var notes = string.Empty;
var notes = "# QuickLook has been updated!\r\n";
var count = 0;
foreach (var item in json)
{
notes += $"# {item["name"]}\r\n\r\n";
notes += $"## {item["name"]}\r\n\r\n";
notes += item["body"] + "\r\n\r\n";
if (count++ > 10)
@@ -133,4 +133,4 @@ namespace QuickLook.Helpers
return json;
}
}
}
}