Nuget Publish Update

Updating the nuget.org publishing targets.
This commit is contained in:
Jordan Wages 2026-06-23 23:55:16 -05:00
commit 288a4f9e5b
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Placeholder target file for NuGet publishing --> <!-- Placeholder target file for NuGet publishing -->
<Target Name="PublishNuGet" AfterTargets="Pack"> <Target Name="PublishNuGet" AfterTargets="Pack">
<Exec Command="dotnet nuget push --source wagenet-git bin\Release\CSMic.$(Version).nupkg" /> <Exec Command="dotnet nuget push --source wagenet-git --skip-duplicate bin\Release\CSMic.$(Version).nupkg" />
<Exec Command="dotnet nuget push --source nuget.org --api-key %NUGET_API_KEY% --skip-duplicate bin\Release\CSMic.$(Version).nupkg" />
</Target> </Target>
</Project> </Project>

View file

@ -1,6 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Placeholder target file for NuGet publishing --> <!-- Placeholder target file for NuGet publishing -->
<Target Name="PublishNuGet" AfterTargets="Pack"> <Target Name="PublishNuGet" AfterTargets="Pack">
<Exec Command="dotnet nuget push --source wagenet-git bin\Release\CSMic.StandardLibrary.$(Version).nupkg" /> <Exec Command="dotnet nuget push --source wagenet-git --skip-duplicate bin\Release\CSMic.StandardLibrary.$(Version).nupkg" />
<Exec Command="dotnet nuget push --source nuget.org --api-key %NUGET_API_KEY% --skip-duplicate bin\Release\CSMic.StandardLibrary.$(Version).nupkg" />
</Target> </Target>
</Project> </Project>