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 {
368368 $Repo = Get-GitHubRepository - OwnerName PowerShell - RepositoryName $RepositoryName
369369
370370 $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)
378377 }
379378
380379 $PR = $Repo | New-GitHubPullRequest @Params
@@ -417,8 +416,7 @@ function New-DraftRelease {
417416 PreRelease = [bool ]$Version.PreReleaseLabel
418417 OwnerName = " PowerShell"
419418 RepositoryName = $RepositoryName
420- WhatIf = $WhatIfPreference
421- Confirm = $ConfirmPreference
419+ # TODO: Fix passing Confirm/WhatIf (again)
422420 }
423421
424422 $Release = New-GitHubRelease @ReleaseParams
You can’t perform that action at this time.
0 commit comments