mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Support new backport branch format (#24378)
This commit is contained in:
@@ -808,7 +808,7 @@ function Invoke-PRBackport {
|
||||
$PrNumber,
|
||||
|
||||
[Parameter(Mandatory)]
|
||||
[ValidateScript({$_ -match '^release/v\d+\.\d+\.\d+'})]
|
||||
[ValidateScript({$_ -match '^release/v\d+\.\d+(\.\d+)?'})]
|
||||
[string]
|
||||
$Target,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user