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

[ASK] Is there any way to change publish nuget's version by tag #49

Open andy840119 opened 3 years ago

andy840119 commented 3 years ago

Describe the bug https://github.com/karaoke-dev/osu-framework-font/blob/master/.github/workflows/release.yml This is my setting. I'm not sure is there any way to change publish NuGet version by tag in this action?

Failed Action Log URL (Required) https://github.com/karaoke-dev/osu-framework-font/runs/1301281775?check_suite_focus=true

To Reproduce Steps to reproduce the behavior:

  1. Create a tag named 2020.1024.0
  2. Push the tag to remote to trigger GitHub action.
  3. Created NuGet(osu.Karaoke.font.1.0.0.nupkg) not apply new version.

Expected Behavior https://www.nuget.org/packages/osu.Framework.KaraokeFont/ Publish to nuget with tag name(e,g: osu.Karaoke.font.2020.1024.0.nupkg), not 1.0.0.

Environment: