Is there any npm version analogue for NuGet packages?
What I am trying to find is a CLI utility (let's say nuget-version
) to manually bump NuGet package versions. So that I would type in :
nuget-version minor
in the command line and it will read previous version of a package in current directory, for example it is 0.1.0
, do all the checks and write an incremented version 0.2.0
, publish it etc. etc. Or if I type patch
instead of minor
the new version would be 0.1.1
. There are lots of recommendations where to update the number. That would be fine to setup a config file with all the information to automate that.Also, that utility could publish to a package server, create a tag in git and so on, like npm-version does.
Is there something like this for NuGet packages around?