Skip to content

Commit

Permalink
build: fix release notes script returning blank
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-andrew committed Jan 3, 2025
1 parent a3c5169 commit 0834449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get-release-notes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $match = [regex]::Matches($changelogContent -join "`n", $pattern, 'SingleLine')

if ($match -ne $null) {
$releaseNotes = $match.Groups[1].Value.Trim() -replace "`r`n", "`n"
Write-Host $releaseNotes
Write-Output $releaseNotes
exit 0
} else {
Write-Host "Error: Release notes for version '$VersionName' not found." -ForegroundColor Red
Expand Down

0 comments on commit 0834449

Please sign in to comment.