Skip to content

Commit 96dff82

Browse files
authored
Updated hardcoded index for TestMicrosoftDataSqlClientVersion property in Versions.props. (#3883)
1 parent d3aea3e commit 96dff82

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

eng/pipelines/common/templates/jobs/validate-signed-package-job.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,19 +312,15 @@ jobs:
312312
displayName: 'Verify "File Version" matches provided pipeline variable "ASSEMBLY_FILE_VERSION" for DLLs'
313313
314314
- powershell: |
315-
#Change TestMicrosoftDataSqlClientVersion
316-
317315
[Xml] $versionprops = Get-Content -Path "tools/props/Versions.props"
318316
$versionpropspath = "tools\props\Versions.props"
319-
$versionprops.Project.PropertyGroup[$versionprops.Project.PropertyGroup.Count-1].TestMicrosoftDataSqlClientVersion ="$(NugetPackageVersion)"
317+
$versionprops.Project.PropertyGroup[2].TestMicrosoftDataSqlClientVersion ="$(NugetPackageVersion)"
320318
Write-Host "Saving Test nuget version at $rootfolder\props ...." -ForegroundColor Green
321319
$versionprops.Save($versionpropspath)
322320
323321
displayName: 'Modify TestMicrosoftDataSqlClientVersion'
324322
325323
- powershell: |
326-
#Change TestMicrosoftDataSqlClientVersion
327-
328324
[Xml] $versionprops = Get-Content -Path "tools/props/Versions.props"
329325
$AssemblyFileVersion = $versionprops.Project.PropertyGroup[0].AssemblyFileVersion
330326
$AssemblyVersion = $versionprops.Project.PropertyGroup[0].AssemblyVersion

0 commit comments

Comments
 (0)