Skip to content

Commit 1ff6b2f

Browse files
authored
[Tools] Fix the issue of different name of module and folder when run CI pipeline (#14151)
* Optimize for CI filter. * Add support for TargetModule * Avoid the issue caused by renaming class. * Avoid the issue caused by renaming class. * Fix the issue of different name of module and folder * Fix the issue of different name of module and folder Co-authored-by: wyunchi-ms <[email protected]>
1 parent eaf74e6 commit 1ff6b2f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.ci-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@
226226
"tools/CleanupBuild.ps1",
227227
"tools/CommonIncrementVersion.ps1",
228228
"tools/CreateAliasMapping.ps1",
229-
"tools/CreateFilterMappings.ps1",
230229
"tools/CreateMappings_rules.json",
231230
"tools/CreateMappings.ps1",
232231
"tools/CreateRegistryEntry.ps1"

tools/CreateFilterMappings.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function Add-CsprojMappings
268268
foreach ($CsprojFile in $CsprojFiles)
269269
{
270270
$Fields = $CsprojFile.FullName.Replace('/', '\').Split('\')
271-
$Project = $Fields[$Fields.Length - 2]
271+
$Project = $Fields[$Fields.Length - 3]
272272
foreach ($ProjectName in $Script:ProjectToSolutionMappings.Keys)
273273
{
274274
foreach ($Solution in $Script:ProjectToSolutionMappings[$ProjectName])

0 commit comments

Comments
 (0)