Skip to content

Using with brandedoutcast/publish-nuget@v2? #499

Answered by adamralph
tig asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure brandedoutcast/publish-nuget is well suited to work with MinVer.

brandedoutcast/publish-nuget seems to extract the version from a repository artifact (VERSION_FILE_PATH), build the package, and then tag the repo with the version. I.e. the workflow is: update the artifact->build the project->tag the repo.

MinVer works in the opposite way. It extracts the version from a tag, and provides it to the .NET SDK as an MSBuild property. I.e. the workflow is: tag the repo->build the project. Also, MinVer doesn't do any building or pushing to NuGet. It's purely a versioning package.

If you want to use MinVer, it may be better to drop brandedoutcast/publish-nuget. They seem like two inco…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by adamralph
Comment options

You must be logged in to vote
1 reply
@adamralph
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants