mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 01:34:19 +08:00
Support new backport branch format (#24378)
This commit is contained in:
parent
e6e3060519
commit
9e59d1fcca
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user