brandedoutcast / publish-nuget

📦 GitHub action to automate publishing NuGet packages when project version changes
https://github.com/marketplace/actions/publish-nuget
MIT License
197 stars 101 forks source link

does not understand prerelease extensions to the version number #34

Closed softlion closed 4 years ago

softlion commented 4 years ago

Hi, when i set "1.0.0-pre1" as the nuget version, this action correctly detects the change, but publishes the nuget package with version 1.0.0 instead of 1.0.0-pre1 (whatever is after the dash means it is a prerelease package).

Any idea how to fix ?

brandedoutcast commented 4 years ago

Did you update the version of your project? The action just runs dotnet pack & publishes the nupkg file so the version is just picked up from the filename. I need the action log to help you

brandedoutcast commented 4 years ago

Closing due to inactivity, reopen if needed

softlion commented 4 years ago

Still not working. Reopen.

brandedoutcast commented 4 years ago

Help me to help you by sharing the failed action log to see more details