For the tag discover we were splitting the tag name on '/v' but in some
case /v existed for other reasons beyond the version. To workaround
this case we find the last instance of that and split on it instead.
This commit is contained in:
Wes Haggard 2024-01-11 14:13:13 -08:00 коммит произвёл GitHub
Родитель 4acd086396
Коммит d6cf614a89
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 12 добавлений и 5 удалений

Просмотреть файл

@ -140,6 +140,7 @@
"sdk/resourcemanager/labservices/armlabservices","1.2.0","","Resource Management - Lab Services","Lab Services","resourcemanager/labservices/armlabservices","","","mgmt","true","","11/24/2023","08/26/2022","","","","","","","",""
"sdk/resourcemanager/resources/armlinks","1.2.0","","Resource Management - Links","Links","resourcemanager/resources/armlinks","","","mgmt","true","","11/23/2023","05/16/2022","","","","","","","",""
"sdk/resourcemanager/loadtesting/armloadtesting","1.2.0","","Resource Management - Load Testing","Load Testing","resourcemanager/loadtesting/armloadtesting","","","mgmt","true","","11/24/2023","11/21/2022","","","","","","","",""
"sdk/resourcemanager/loadtestservice/armloadtestservice","1.0.1","","Resource Management - Loadtestservice","Loadtestservice","resourcemanager/loadtestservice/armloadtestservice","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/resources/armlocks","1.2.0","","Resource Management - Locks","Locks","resourcemanager/resources/armlocks","","","mgmt","true","","11/23/2023","05/16/2022","","","","","","","",""
"sdk/resourcemanager/operationalinsights/armoperationalinsights","1.2.0","2.0.0-beta.3","Resource Management - Log Analytics","Log Analytics","resourcemanager/operationalinsights/armoperationalinsights","","","mgmt","true","","11/24/2023","05/17/2022","","","","","","","",""
"sdk/resourcemanager/logic/armlogic","1.2.0","","Resource Management - Logic Apps","Logic Apps","resourcemanager/logic/armlogic","","","mgmt","true","","11/24/2023","05/18/2022","","","","","","","",""
@ -246,6 +247,11 @@
"sdk/resourcemanager/testbase/armtestbase","","0.7.0","Resource Management - Test Base","Test Base","resourcemanager/testbase/armtestbase","","","mgmt","true","","","","","","","","","","",""
"sdk/resourcemanager/timeseriesinsights/armtimeseriesinsights","1.2.0","","Resource Management - Time Series Insights","Time Series Insights","resourcemanager/timeseriesinsights/armtimeseriesinsights","","","mgmt","true","","11/24/2023","06/10/2022","","","","","","","",""
"sdk/resourcemanager/trafficmanager/armtrafficmanager","1.3.0","","Resource Management - Traffic Manager","Traffic Manager","resourcemanager/trafficmanager/armtrafficmanager","","","mgmt","true","","11/24/2023","05/17/2022","","","","","","","",""
"sdk/resourcemanager/videoanalyzer/armvideoanalyzer","","0.4.2","Resource Management - Videoanalyzer","Videoanalyzer","resourcemanager/videoanalyzer/armvideoanalyzer","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder","2.2.0","","Resource Management - Virtualmachineimagebuilder","Virtualmachineimagebuilder","resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/visualstudio/armvisualstudio","","0.6.0","Resource Management - Visualstudio","Visualstudio","resourcemanager/visualstudio/armvisualstudio","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/vmwarecloudsimple/armvmwarecloudsimple","1.2.0","","Resource Management - Vmwarecloudsimple","Vmwarecloudsimple","resourcemanager/vmwarecloudsimple/armvmwarecloudsimple","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/voiceservices/armvoiceservices","1.1.0","","Resource Management - Voiceservices","Voiceservices","resourcemanager/voiceservices/armvoiceservices","NA","NA","mgmt","true","","","","","","","","","","","Needs Review"
"sdk/resourcemanager/web/armweb","","0.2.1","Resource Management - Web","Web","resourcemanager/web/armweb","","","mgmt","true","","","","","","","","","","",""
"sdk/resourcemanager/webpubsub/armwebpubsub","1.2.0","1.3.0-beta.1","Resource Management - Web PubSub","Web PubSub","resourcemanager/webpubsub/armwebpubsub","","","mgmt","true","","11/27/2023","05/16/2022","","","","","","","",""
"sdk/resourcemanager/windowsesu/armwindowsesu","","0.7.0","Resource Management - Window SESU","Window SESU","resourcemanager/windowsesu/armwindowsesu","","","mgmt","true","","","","","","","","","","",""

1 Package VersionGA VersionPreview DisplayName ServiceName RepoPath MSDocs GHDocs Type New PlannedVersions LatestGADate FirstGADate Support EOLDate Hide Replace ReplaceGuide MSDocService ServiceId Notes
140 sdk/resourcemanager/labservices/armlabservices 1.2.0 Resource Management - Lab Services Lab Services resourcemanager/labservices/armlabservices mgmt true 11/24/2023 08/26/2022
141 sdk/resourcemanager/resources/armlinks 1.2.0 Resource Management - Links Links resourcemanager/resources/armlinks mgmt true 11/23/2023 05/16/2022
142 sdk/resourcemanager/loadtesting/armloadtesting 1.2.0 Resource Management - Load Testing Load Testing resourcemanager/loadtesting/armloadtesting mgmt true 11/24/2023 11/21/2022
143 sdk/resourcemanager/loadtestservice/armloadtestservice 1.0.1 Resource Management - Loadtestservice Loadtestservice resourcemanager/loadtestservice/armloadtestservice NA NA mgmt true Needs Review
144 sdk/resourcemanager/resources/armlocks 1.2.0 Resource Management - Locks Locks resourcemanager/resources/armlocks mgmt true 11/23/2023 05/16/2022
145 sdk/resourcemanager/operationalinsights/armoperationalinsights 1.2.0 2.0.0-beta.3 Resource Management - Log Analytics Log Analytics resourcemanager/operationalinsights/armoperationalinsights mgmt true 11/24/2023 05/17/2022
146 sdk/resourcemanager/logic/armlogic 1.2.0 Resource Management - Logic Apps Logic Apps resourcemanager/logic/armlogic mgmt true 11/24/2023 05/18/2022
247 sdk/resourcemanager/testbase/armtestbase 0.7.0 Resource Management - Test Base Test Base resourcemanager/testbase/armtestbase mgmt true
248 sdk/resourcemanager/timeseriesinsights/armtimeseriesinsights 1.2.0 Resource Management - Time Series Insights Time Series Insights resourcemanager/timeseriesinsights/armtimeseriesinsights mgmt true 11/24/2023 06/10/2022
249 sdk/resourcemanager/trafficmanager/armtrafficmanager 1.3.0 Resource Management - Traffic Manager Traffic Manager resourcemanager/trafficmanager/armtrafficmanager mgmt true 11/24/2023 05/17/2022
250 sdk/resourcemanager/videoanalyzer/armvideoanalyzer 0.4.2 Resource Management - Videoanalyzer Videoanalyzer resourcemanager/videoanalyzer/armvideoanalyzer NA NA mgmt true Needs Review
251 sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder 2.2.0 Resource Management - Virtualmachineimagebuilder Virtualmachineimagebuilder resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder NA NA mgmt true Needs Review
252 sdk/resourcemanager/visualstudio/armvisualstudio 0.6.0 Resource Management - Visualstudio Visualstudio resourcemanager/visualstudio/armvisualstudio NA NA mgmt true Needs Review
253 sdk/resourcemanager/vmwarecloudsimple/armvmwarecloudsimple 1.2.0 Resource Management - Vmwarecloudsimple Vmwarecloudsimple resourcemanager/vmwarecloudsimple/armvmwarecloudsimple NA NA mgmt true Needs Review
254 sdk/resourcemanager/voiceservices/armvoiceservices 1.1.0 Resource Management - Voiceservices Voiceservices resourcemanager/voiceservices/armvoiceservices NA NA mgmt true Needs Review
255 sdk/resourcemanager/web/armweb 0.2.1 Resource Management - Web Web resourcemanager/web/armweb mgmt true
256 sdk/resourcemanager/webpubsub/armwebpubsub 1.2.0 1.3.0-beta.1 Resource Management - Web PubSub Web PubSub resourcemanager/webpubsub/armwebpubsub mgmt true 11/27/2023 05/16/2022
257 sdk/resourcemanager/windowsesu/armwindowsesu 0.7.0 Resource Management - Window SESU Window SESU resourcemanager/windowsesu/armwindowsesu mgmt true

Просмотреть файл

@ -142,14 +142,15 @@ function GetPackageVersions($lang, [DateTimeOffset]$afterDate = [DateTimeOffset]
if ($tagSplit)
{
$sp = $tagName -split $tagSplit
if ($sp.Length -ne 2) {
Write-Verbose "Failed to split tag correctly in language '$lang' with tag '$tagName'."
$splitIndex = $tagName.LastIndexOf($tagSplit)
if ($splitIndex -lt 0) {
Write-Verbose "Failed to file '$tagSplit' in tag in language '$lang' for tag '$tagName'."
continue
}
$package = $sp[0]
$version = $sp[1]
$package = $tagName.Substring(0, $splitIndex)
$version = $tagName.Substring($splitIndex + $tagSplit.Length)
}
else
{