Skip to content

Simplify NuGet publishing to nuget.org - #10

Merged
thebuilder merged 2 commits into
mainfrom
feat/route-prereleases-to-test-gallery
Jul 18, 2026
Merged

Simplify NuGet publishing to nuget.org#10
thebuilder merged 2 commits into
mainfrom
feat/route-prereleases-to-test-gallery

Conversation

@thebuilder

@thebuilder thebuilder commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the int.nugettest.org publishing job, credentials, environment, and manual workflow input
  • publish both GitHub prereleases and stable GitHub Releases to nuget.org through one trusted-publishing job
  • require GitHub's release type to match the SemVer tag: prerelease releases need prerelease versions, and stable releases need stable versions
  • simplify the maintainer release documentation around the single-gallery workflow

Why

The test-gallery path introduced a second policy and routing model without providing useful protection for the release process. A GitHub prerelease has already established TheBuilder.WebAnalytics prerelease publishing on nuget.org, so the workflow now treats that as intentional behavior and removes the integration-gallery complexity.

Impact

Publishing a GitHub prerelease such as v0.2.0-preview.1 publishes that prerelease package to nuget.org. Publishing a stable GitHub Release such as v0.2.0 publishes the stable package to nuget.org. There is no manual publish trigger or test-gallery configuration.

Verification

  • parsed the workflow as valid YAML
  • confirmed no int.nugettest.org, nuget-test, manual-dispatch, or test-publish references remain
  • exercised prerelease/stable release flags against prerelease/stable SemVer values
  • verified workflow and documentation diff checks

@thebuilder thebuilder changed the title Route prereleases to the NuGet test gallery Simplify NuGet publishing to nuget.org Jul 18, 2026
@thebuilder
thebuilder marked this pull request as ready for review July 18, 2026 09:03
@thebuilder
thebuilder merged commit 7b8ceb8 into main Jul 18, 2026
3 checks passed
@thebuilder
thebuilder deleted the feat/route-prereleases-to-test-gallery branch July 18, 2026 09:04
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.

1 participant