File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -368,13 +368,12 @@ function New-ReleasePR {
368
368
$Repo = Get-GitHubRepository - OwnerName PowerShell - RepositoryName $RepositoryName
369
369
370
370
$Params = @ {
371
- Head = $Branch
372
- Base = " master"
373
- Draft = $true
374
- Title = " Release `` v$Version `` "
375
- Body = " Automated PR for new release!"
376
- WhatIf = $WhatIfPreference
377
- Confirm = $ConfirmPreference
371
+ Head = $Branch
372
+ Base = " master"
373
+ Draft = $true
374
+ Title = " Release `` v$Version `` "
375
+ Body = " Automated PR for new release!"
376
+ # TODO: Fix passing Confirm/WhatIf (again)
378
377
}
379
378
380
379
$PR = $Repo | New-GitHubPullRequest @Params
@@ -417,8 +416,7 @@ function New-DraftRelease {
417
416
PreRelease = [bool ]$Version.PreReleaseLabel
418
417
OwnerName = " PowerShell"
419
418
RepositoryName = $RepositoryName
420
- WhatIf = $WhatIfPreference
421
- Confirm = $ConfirmPreference
419
+ # TODO: Fix passing Confirm/WhatIf (again)
422
420
}
423
421
424
422
$Release = New-GitHubRelease @ReleaseParams
You can’t perform that action at this time.
0 commit comments