mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
Fix release notes for nuget package
This commit is contained in:
@@ -284,8 +284,8 @@ $foundHashTag = $false
|
||||
$sb = [System.Text.StringBuilder]::new()
|
||||
foreach($line in $changelog) {
|
||||
$line = $line.TrimEnd()
|
||||
if($line -eq '') { continue }
|
||||
if($line.StartsWith("##")) {
|
||||
if([string]::IsNullOrWhiteSpace($line)) { continue }
|
||||
if($line.StartsWith('##')) {
|
||||
if(!$foundHashTag)
|
||||
{
|
||||
$foundHashTag = $true
|
||||
@@ -298,6 +298,7 @@ foreach($line in $changelog) {
|
||||
}
|
||||
}
|
||||
Write-Host $sb.ToString()
|
||||
Set-Content -Path "UVtools.Core/RELEASE_NOTES.md" -Value $sb.ToString()
|
||||
|
||||
|
||||
if($null -ne $enableNugetPublish -and $enableNugetPublish)
|
||||
|
||||
Reference in New Issue
Block a user