Skip to content

armgit / Filee

Public Imported from GitHub
0

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.

Release notes: one line per list item

KnifeLemone306bab8d300
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 337f22cc..dfb81dc9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -76,7 +76,9 @@ jobs:
$changes = ''
$changelog = Get-Content CHANGELOG.md -Raw -Encoding utf8
if ($changelog -match "(?ms)^## $([regex]::Escape($version))[ \t]*\r?\n(.*?)(?=^## |\z)") {
- $changes = $Matches[1].Trim()
+ # One line per list item: GitHub shows the line breaks of the 120-column file in release notes.
+ $changes = $Matches[1].Trim() -replace ' ?
+ (?=\S)', ' '
}
if (-not $changes) { Write-Warning "CHANGELOG.md has no section for $version" }
$notes = if ($changes) { "$policy`n`n$changes" } else { $policy }