skarpdev / dotnet-version-cli

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

Add `bare` output to dump and bump commands #72

Closed nover closed 3 years ago

nover commented 3 years ago

Which will just output the version of the target csproj.

example of dump :

$ dotnet version --output-format=bare -f ./dotnet-version.csproj                                                                                                                                                  
2.0.0

And likewise for bump:

$ dotnet version --output-format=bare -f ./dotnet-version.csproj patch                                                                                                                                            2.0.1

Closes #69

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

22.2% 22.2% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_221) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 11. Read more here

justinmchase commented 3 years ago

Looks good and thank you for the feature!