Skip to content

Add bare output to dump and bump commands#72

Merged
nover merged 2 commits into
masterfrom
69-it-would-be-nice-if-there-was-a-format-which-just-outputted-the-version-and-nothing-else
Jan 21, 2021
Merged

Add bare output to dump and bump commands#72
nover merged 2 commits into
masterfrom
69-it-would-be-nice-if-there-was-a-format-which-just-outputted-the-version-and-nothing-else

Conversation

@nover

@nover nover commented Jan 20, 2021

Copy link
Copy Markdown
Contributor

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

@sonarqubecloud

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Looks good and thank you for the feature!

@nover nover merged commit 7b7173d into master Jan 21, 2021
@pingvinen pingvinen deleted the 69-it-would-be-nice-if-there-was-a-format-which-just-outputted-the-version-and-nothing-else branch January 7, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It would be nice if there was a format which just outputted the version and nothing else

2 participants