Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Release workflow: fix the line break pattern
KnifeLemon7a51f4a03492
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex dfb81dc9..c72edec0 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -77,8 +77,7 @@ jobs:$changelog = Get-Content CHANGELOG.md -Raw -Encoding utf8if ($changelog -match "(?ms)^## $([regex]::Escape($version))[ \t]*\r?\n(.*?)(?=^## |\z)") {# One line per list item: GitHub shows the line breaks of the 120-column file in release notes.- $changes = $Matches[1].Trim() -replace ' ?- (?=\S)', ' '+ $changes = $Matches[1].Trim() -replace '\r?\n (?=\S)', ' '}if (-not $changes) { Write-Warning "CHANGELOG.md has no section for $version" }$notes = if ($changes) { "$policy`n`n$changes" } else { $policy }