skarpdev / dotnet-version-cli

dotnet version cli (similar to npm version cli)
MIT License
38 stars 12 forks source link

"patch -m" do not work as expected #91

Open FrankMuehlschlegel opened 2 years ago

FrankMuehlschlegel commented 2 years ago

dotnet version -m "Auto increment version to v$newVer by CI/CD pipeline" patch results in "Auto increment version to v0.0.17 by CI/CD pipeline"

dotnet version patch -m "Auto increment version to v$newVer by CI/CD pipeline" results in "v0.0.17" the default commit message

according the documentation it works for dotnet version minor -m "xxxx". I think having the possibility tp have the options at the end is good for better readability of the code.