mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
Provide name of product in changelog (#945)
* Provide name of product in changelog fixes #944 * Change of headline-string
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user