From 7754ce07960f50ef762089501f3423378c6491ea Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:43:41 +0000 Subject: [PATCH 1/2] Initial plan From 63dfbdeff9db82bafcfac9631e4da466d7f36700 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:49:49 +0000 Subject: [PATCH 2/2] Fix: Only record internal-versions.txt when --internal flag is used Co-authored-by: lbussell <36081148+lbussell@users.noreply.github.com> --- .../FromStagingPipelineCommand.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/eng/update-dependencies/FromStagingPipelineCommand.cs b/eng/update-dependencies/FromStagingPipelineCommand.cs index d90e3ae1b9..1feffdc657 100644 --- a/eng/update-dependencies/FromStagingPipelineCommand.cs +++ b/eng/update-dependencies/FromStagingPipelineCommand.cs @@ -70,11 +70,14 @@ public override async Task ExecuteAsync(FromStagingPipelineOptions options) DotNetVersion dotNetVersion = DotNetVersion.Parse(releaseConfig.RuntimeBuild); string majorMinorVersionString = dotNetVersion.ToString(2); - // Record pipeline run ID for this internal version, for later use by sync-internal-release command - _internalVersionsService.RecordInternalStagingBuild( - repoRoot: gitRepoContext.LocalRepoPath, - dotNetVersion: dotNetVersion, - stagingPipelineRunId: options.StagingPipelineRunId); + if (options.Internal) + { + // Record pipeline run ID for this internal version, for later use by sync-internal-release command + _internalVersionsService.RecordInternalStagingBuild( + repoRoot: gitRepoContext.LocalRepoPath, + dotNetVersion: dotNetVersion, + stagingPipelineRunId: options.StagingPipelineRunId); + } var productVersions = (options.Internal, releaseConfig.SdkOnly) switch {