diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index e3c89310..876e9bbf 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -211,7 +211,7 @@ jobs: run: | echo $(ls -Force) $i = 1 - $changelog = foreach ($match in [Regex]::Matches($(git log $((git tag --sort=committerdate | Select-Object -Last 2) -join "..")), '```ChangeLog([\w\W]+?)```')) { + $changelog = foreach ($match in [Regex]::Matches($(git log $((git tag --sort=committerdate | Select-Object -Last 2) -join "..")), '```ChangeLog[\r\n\s]+([\w\W]+?)[\r\n\s]+```')) { echo "$($i). $($match.Groups[1].Value);" $i = $i + 1 }