File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ function Get-RemoteName {
2828}
2929
3030# Show basic documentation
31- Write-Host " "
3231Write-Host " # Release branches"
3332Write-Host " Release branches follow the Windows release naming scheme."
3433Write-Host " Example: 2026-04B refers to the second week (B) of April 2026."
@@ -54,8 +53,12 @@ $numberOfBranches = 5
5453
5554Write-Host " "
5655Write-Host " ## ${numberOfBranches} most recent public release branches"
57- git branch - r -- list " $gitHubRemote /release/*" -- sort=- creatordate | Select-Object - First $numberOfBranches
56+ git branch - r -- list " $gitHubRemote /release/*" -- sort=- creatordate `
57+ | Select-Object - First $numberOfBranches `
58+ | ForEach-Object { Write-Host " - $ ( $_.Trim ()) " }
5859
5960Write-Host " "
6061Write-Host " ## ${numberOfBranches} most recent internal release branches"
61- git branch - r -- list " $dncengRemote /internal/release/*" -- sort=- creatordate | Select-Object - First $numberOfBranches
62+ git branch - r -- list " $dncengRemote /internal/release/*" -- sort=- creatordate `
63+ | Select-Object - First $numberOfBranches `
64+ | ForEach-Object { Write-Host " - $ ( $_.Trim ()) " }
You can’t perform that action at this time.
0 commit comments