From 2498f74f5cf343553aba98009fe9ebdb6dc56612 Mon Sep 17 00:00:00 2001 From: Shawn Yuan Date: Thu, 12 Feb 2026 14:08:26 +0800 Subject: [PATCH] update --- .pipelines/UpdateVersions.ps1 | 5 +++-- nuget.config | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pipelines/UpdateVersions.ps1 b/.pipelines/UpdateVersions.ps1 index eae8a281bb..b557670e78 100644 --- a/.pipelines/UpdateVersions.ps1 +++ b/.pipelines/UpdateVersions.ps1 @@ -341,7 +341,8 @@ function Resolve-ArtifactBasedDependencies { } } - # Update nuget.config + # Update nuget.config dynamically during pipeline execution + # This modification is temporary and won't be committed back to the repo $nugetConfig = Join-Path $rootPath "nuget.config" $configData = Read-FileWithEncoding -Path $nugetConfig [xml]$xml = $configData.Content @@ -349,7 +350,7 @@ function Resolve-ArtifactBasedDependencies { Add-NuGetSourceAndMapping -Xml $xml -Key "localpackages" -Value $OutputDir -Patterns $allLocalPackages $xml.Save($nugetConfig) - Write-Host "Updated nuget.config with localpackages mapping." + Write-Host "Updated nuget.config with localpackages mapping (temporary, for pipeline execution only)." return $packageVersions } diff --git a/nuget.config b/nuget.config index 39fe232c39..6b8d13a023 100644 --- a/nuget.config +++ b/nuget.config @@ -3,7 +3,6 @@ -