mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +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 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;
|
var count = 0;
|
||||||
foreach (var item in json)
|
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";
|
notes += item["body"] + "\r\n\r\n";
|
||||||
|
|
||||||
if (count++ > 10)
|
if (count++ > 10)
|
||||||
|
Reference in New Issue
Block a user