Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions eng/update-dependencies/FromStagingPipelineCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ public override async Task<int> 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
{
Expand Down