adamralph / minver

🏷 Minimalistic versioning using Git tags.
Apache License 2.0
825 stars 59 forks source link

Please publish a MinVer.Lib nuget package #1006

Open hexxone opened 2 months ago

hexxone commented 2 months ago

Use case(s)

First off, MinVer is an amazing tool and does a pretty good job. Thanks for maintaining it so well!

I want to create another build tool, similar to "MinVer" which assists in versioning "Jellyfin Plugins" , but has additional functionality like updating json files, creating zip files & hashes etc. for a Release.

As I can see, you have a separate "MinVer.Lib" project, which already contains the "main" logic used for the versioning.

So I thought about integrating "MinVer.Lib" directly, instead of calling the CLI tool externally, but was saddened to see there is no package for it.

Description

It would be awesome if you could publish the "MinVer.Lib" project as a nuget package as well for developers who wish to integrate your tool directly, without relying on cli.

Alternatives

Currently I rely on the "version" being passed to the Tool as a CLI-argument after running "minver-cli".

I could also call the minver CLI tool directly from my tool. But this relies on the tool to be installed additionally and I would argue, calling a CLI tool from CLI in comparison to directly using it's DLL is rather bad practice when avoidable.

I do not actually need "MinVer-cli" besides that, because the normal "MinVer" nuget package does a pretty good job already :)

Thanks for considering!