Skip to content

Commit

Permalink
Update release notes selection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
igoravl committed Oct 14, 2024
1 parent 395b565 commit c0fbc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
id: extract_release_notes
shell: pwsh
run: |
$fileName = (Get-ChildItem [0-9]*.md -Recurse | Sort-Object Name | Select -ExpandProperty FullName -Last 1)
$fileName = (Get-ChildItem [0-9]*.md -Recurse | Select @{L='Version';E={[Version]$_.BaseName}}, FullName | Sort-Object Version | Select -ExpandProperty FullName -Last 1)
Write-Output $fileName
$releaseNotes = (Get-Content $fileName -Encoding UTF8 | Select-Object -Skip 4)
Write-Output $releaseNotes
Expand Down

0 comments on commit c0fbc28

Please sign in to comment.