Skip to content

Fix Publish workflow: skip duplicate NuGet packages#132

Merged
phmatray merged 1 commit intomainfrom
fix/nuget-publish-skip-duplicate
Mar 9, 2026
Merged

Fix Publish workflow: skip duplicate NuGet packages#132
phmatray merged 1 commit intomainfrom
fix/nuget-publish-skip-duplicate

Conversation

@phmatray
Copy link
Owner

@phmatray phmatray commented Mar 9, 2026

Summary

  • The Publish workflow has been failing since Feb 24 because dotnet nuget push returns a 409 Conflict when version 1.1.0 already exists on NuGet.org
  • Added SkipDuplicate = true to DotNetNuGetPushSettings in build.cake so already-published versions are silently skipped instead of failing the build

Test plan

  • Verify the Publish workflow passes on this branch
  • Confirm that new package versions are still published correctly

The Publish workflow fails with a 409 Conflict when pushing a package
version that already exists on NuGet.org. Add SkipDuplicate = true to
DotNetNuGetPushSettings so already-published versions are silently
skipped instead of causing a build failure.
@phmatray phmatray merged commit f747cdb into main Mar 9, 2026
5 checks passed
@phmatray phmatray deleted the fix/nuget-publish-skip-duplicate branch March 9, 2026 09:00
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