Skip to content

Commit

Permalink
Add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilas committed Sep 8, 2024
1 parent e5b0b5f commit b828312
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ function Get-GitHubLatest {
$tagName = $release.tag_name
$version = $release.Version
Write-Verbose " Version: $version"
$stream = @{ Version = $version }
$stream = @{
Version = $version
ReleaseNotes = "[Releases](https://github.com/$Repository/releases)`n`n" + $release.body
}

$pattern = "{0}.*{1}$" -f [regex]::Escape($tagName), [regex]::Escape(".$FileType")
$assets = $release.assets | Where-Object "browser_download_url" -Match $pattern
Expand Down
2 changes: 1 addition & 1 deletion kodi/kodi.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.
]]></description>
<summary>Kodi is an award-winning free and open source (GPL) software media player and entertainment hub for digital media.</summary>
<releaseNotes>[News](https://kodi.tv/blog)</releaseNotes>
<releaseNotes>[Releases](https://kodi.tv/blog/tag/release/)</releaseNotes>
<copyright>Copyright © Team XBMC</copyright>
<tags>kodi admin xbmc media mediaserver video dlna music podcast</tags>
<projectSourceUrl>https://github.com/xbmc/xbmc</projectSourceUrl>
Expand Down
6 changes: 3 additions & 3 deletions marble/marble.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<title>Marble</title>
<authors>Marble Team</authors>
<owners>Thilas</owners>
<licenseUrl>https://cgit.kde.org/marble.git/tree/LICENSE.txt</licenseUrl>
<licenseUrl>https://invent.kde.org/education/marble/-/blob/master/COPYING.DOC</licenseUrl>
<projectUrl>https://marble.kde.org/</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/Thilas/chocolatey-packages@5cb1f2e767a74ecc8261fa6e4f5376e1b04fe953/marble/icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[Marble is a Virtual Globe and World Atlas that you can use to learn more about Earth: You can pan and zoom around and you can look up places and roads. A mouse click on a place label will provide the respective Wikipedia article.
]]></description>
<summary>Find your way and explore the world! Marble is a virtual globe and world atlas — your swiss army knife for maps.</summary>
<releaseNotes>[Summary](https://cgit.kde.org/marble.git/)</releaseNotes>
<releaseNotes>[ChangeLog](https://invent.kde.org/education/marble/-/blob/master/ChangeLog)</releaseNotes>
<copyright>Copyright © Marble Team</copyright>
<tags>marble admin globe world atlas map earth</tags>
<projectSourceUrl>https://cgit.kde.org/marble.git/</projectSourceUrl>
<projectSourceUrl>https://invent.kde.org/education/marble</projectSourceUrl>
<packageSourceUrl>https://github.com/Thilas/chocolatey-packages/tree/master/marble</packageSourceUrl>
<docsUrl>https://marble.kde.org/documentation.php</docsUrl>
<mailingListUrl>https://mail.kde.org/mailman/listinfo/marble-devel</mailingListUrl>
Expand Down

0 comments on commit b828312

Please sign in to comment.