Skip to content

Feature: quiet mode #105

@shaunthegeek

Description

@shaunthegeek

as a GitLab CI user,
I want to get project version number without other info,
so I can use it in shell.

MyLibrary.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Version>1.2.0</Version>
  </PropertyGroup>

</Project>

current

dotnet-version

dotnet-version-cli version 2.4.1.0
Project version is:
1.2.0

dotnet-version | tail -n 1

1.2.0

expected

dotnet-version -o quiet

1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions