Skip to content

Add NuGet publish to official build pipeline#662

Merged
dfederm merged 1 commit intomainfrom
dfederm/add-nuget-publish
Apr 16, 2026
Merged

Add NuGet publish to official build pipeline#662
dfederm merged 1 commit intomainfrom
dfederm/add-nuget-publish

Conversation

@dfederm
Copy link
Copy Markdown
Member

@dfederm dfederm commented Apr 16, 2026

Replace the classic release pipeline (blocked by 1ES drift management enforcement) with an output: nuget entry in the 1ES template's templateContext.outputs section.

What this does:

  • Publishes to nuget.org via the 'MSBuild SDKs' service connection when a Microsoft.Build* tag is pushed
  • Only publishes the package matching the tag (e.g., tag Microsoft.Build.Artifacts.4.1.0 pushes only Microsoft.Build.Artifacts.4.1.0.nupkg)
  • Uses Build.SourceBranchName to dynamically scope the glob, replacing the old per-package steps

Replace the classic release pipeline (blocked by 1ES drift management)
with an output: nuget entry in the 1ES template. Publishes to nuget.org
via the 'MSBuild SDKs' service connection when a Microsoft.Build* tag
is pushed, scoped to only the tagged package.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dfederm dfederm enabled auto-merge (squash) April 16, 2026 17:23
@dfederm dfederm merged commit 57db90e into main Apr 16, 2026
7 checks passed
@dfederm dfederm deleted the dfederm/add-nuget-publish branch April 16, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants