Skip to content

Commit

Permalink
docs: ReleaseNotes Example ( Fixes #307 )
Browse files Browse the repository at this point in the history
Including untyped commits, outputting markdown directly
  • Loading branch information
James Brundage committed Sep 28, 2024
1 parent fbfc055 commit e3f0323
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Examples/ReleaseNotes.ugit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ $commitList =



$groupedChangedSet = $commitList |
? { $_.CommitType } |
$groupedChangedSet = $commitList |
Group-Object { $_.CommitType }

$releaseNoteBulletpoints = @(
Expand All @@ -51,8 +50,12 @@ $releaseNoteBulletpoints = @(

if ($env:GITHUB_STEP_SUMMARY) {
"
~~~markdown
$releaseNoteBulletpoints
~~~
" |
Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
}
$releaseNoteBulletpoints


0 comments on commit e3f0323

Please sign in to comment.