We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74e4535 commit 9f61ff9Copy full SHA for 9f61ff9
1 file changed
tool/releaseTools.psm1
@@ -47,10 +47,13 @@ function Get-Bullet {
47
#>
48
function Get-Changelog {
49
# This will take some time because it has to pull all PRs and then filter
50
- $script:PullRequests = $script:Repo | Get-GitHubPullRequest -State 'closed' |
51
- Where-Object { $_.labels.LabelName -match 'Release' } |
52
- Where-Object { -not $_.title.StartsWith("[WIP]") } |
53
- Where-Object { -not $_.title.StartsWith("WIP") }
+ $script:PullRequests = $script:Repo |
+ Get-GitHubPullRequest -State 'closed' |
+ Where-Object -FilterScript {
+ $_.labels.LabelName -match 'Release' -and
54
+ -not $_.title.StartsWith("[WIP]") -and
55
+ -not $_.title.StartsWith("WIP")
56
+ }
57
58
$PullRequests | ForEach-Object {
59
if ($_.labels.LabelName -match 'PR-Bug') {
0 commit comments