BuildVersion.Cli 8.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global BuildVersion.Cli --version 8.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local BuildVersion.Cli --version 8.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=BuildVersion.Cli&version=8.0.0
                    
nuke :add-package BuildVersion.Cli --version 8.0.0
                    

Build Version Command Line Interface

A command line tool to emit automatic build versions in a CI/CD pipeline.

Requirements

You must have the .NET 8 runtime or SDK installed.

Installation

The tool can be installed globally with the command: dotnet tool install BuildVersion.Cli --global

This will download, install, and alias the tool with the command build-version.

Usage

Running build-version --help will display help as follows:

Description:
  A command line tool to emit automatic build versions in a CI/CD pipeline.

Usage:
  build-version [options]

Options:
  --environment <Development|Production|Staging> (REQUIRED)  Environment to generate the build version for.
  --output <DevOps|GitHub|Plain>                             The output format of the build version. [default: Plain]
  --base <base>                                              Override the automatically generated version using the base version
  --major <major>                                            Override the automatically generated major version
  --minor <minor>                                            Override the automatically generated minor version
  --patch <patch>                                            Override the patch version or use 'auto' to set it to the current week of the year
  --build <build>                                            Override the automatically generated build version
  --version                                                  Show version information
  -?, -h, --help                                             Show help and usage information
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
10.0.0 452 11/26/2025
8.0.0 1,338 6/16/2025