Hi,
i found dotnet-version-cli in version 2.2.0.0 is returning exit code 0 after an error.
STR:
- edit your code (create pending git changes)
- perfrom "dotnet version..." (it should fail; here: "ERR You currently have uncomitted changes in your")
- check errorcode (should be != 0)
This is a copy of my cmd output
d:\dev>dotnet version -f path\to_project.csproj patch
dotnet-version-cli version 2.2.0.0
ERR You currently have uncomitted changes in your repository, please commit these and try again
.
.
.
d:\dev>echo %errorlevel%
0
Hi,
i found dotnet-version-cli in version 2.2.0.0 is returning exit code 0 after an error.
STR:
This is a copy of my cmd output