Support new backport branch format (#24378)

This commit is contained in:
Travis Plunk 2024-10-03 13:09:07 -07:00 committed by GitHub
parent e6e3060519
commit 9e59d1fcca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,