Open gonace opened 3 years ago
Since we needed this functionality right away we were "forced" to fork this repository and add the functionality to our instance of Package Nuget
from the PR (#52).
What I usually do is have the action never push tags and instead have the action only run only when the workflow runs in a new tag push scenario.
That's not a bug, version name must be unique, please change it to 1.0.1 or higher.
That's not a bug, version name must be unique, please change it to 1.0.1 or higher.
Except it is, the version is set in project but they been experimenting with VERSION_STATIC
to append ${{github.run_number}}
to the end of it.
Remove VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
and see.
Describe the bug We're trying to use the property
VERSION_STATIC
with{{github.run_number}}
(1.0.${{github.run_number}}
) but it does not seem to work, since the generated package builds with version1.0.0
.The action does not fail even though the nuget API returns
Conflcit
:Failed Action Log URL (Required)
To Reproduce Steps to reproduce the behavior:
Expected Behavior We're expecting the
.nupkg
-file to be generated with the version provided via the propertyVERSION_STATIC
The Pull Request #52 seems to solve this, would be great if that could be merged?
Environment:
ubuntu-latest
v2.5.5