Skip to content

Publish MoreDateTime package to NuGet.org#76

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/publish-package-to-nuget
Closed

Publish MoreDateTime package to NuGet.org#76
Copilot wants to merge 2 commits intomainfrom
copilot/publish-package-to-nuget

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

The package was not being reliably published to NuGet.org or GitHub Packages due to incomplete workflow steps, a missing tag-based trigger, an outdated push endpoint, and a secret name typo.

Changes

MoreDateTime.csproj

  • Bump <Version> to 1.4.0 to match the latest git tag

dotnet.yml

  • Add tags: ['v*'] push trigger so publishing fires on version tag creation
  • Complete the "Push Github package" step — it was registering the source but never calling dotnet nuget push
  • Update NuGet push endpoint: https://www.nuget.org/api/v2/packagehttps://api.nuget.org/v3/index.json

manual.yml

  • Add dotnet pack step outputting to $GITHUB_WORKSPACE/out
  • Add "Push NuGet package" step targeting NuGet.org via NUGET_TOKEN
  • Fix "Push Github package" step: typo GH_PACLAGE_TOKENGITHUB_TOKEN, consistent output directory, correct dotnet nuget push invocation
  • Update NuGet push endpoint to v3

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Hefaistos68 <8855055+Hefaistos68@users.noreply.github.com>
Copilot AI changed the title [WIP] Publish package on nuget.org Publish MoreDateTime package to NuGet.org Feb 27, 2026
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.

2 participants