FunFair.BuildVersion
6.2.16.383-main
This is a prerelease version of FunFair.BuildVersion.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global FunFair.BuildVersion --version 6.2.16.383-main
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local FunFair.BuildVersion --version 6.2.16.383-main
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FunFair.BuildVersion&version=6.2.16.383-main&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package FunFair.BuildVersion --version 6.2.16.383-main
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Build Version
Simpler/faster git specific version builder
Build Status
| Branch | Status |
|---|---|
| main | |
| release |
Release Notes/Changelog
View changelog
Installation
Install as a global tool
dotnet tool install FunFair.BuildVersion
To update to latest released version
dotnet tool update FunFair.BuildVersion
Install as a local tool
dotnet new tool-manifest
dotnet tool install FunFair.BuildVersion --local
To update to latest released version
dotnet tool update FunFair.BuildVersion --local
Supported Branch formats
Supports release and hotfix branches in the following formats
- release/version
- release/package/version
- release-platform/package/version
- release-platform/version
- hotfix/version
- hotfix/package/version
- hotfix-platform/package/version
- hotfix-platform/version
version can be in the following formats:
- 1
- 1.2
- 1.2.3
Output Release Formats
- Release branches: 1.2.3.4;
- where 4 is a build number passed to the tool
- Pre-Release branches 1.2.3.4-tag
- where
4is a build number passed to the tool - where
tagis generated from the branch name (or matching branch for a pull request if it can be located)
- where
Tag restrictions
- Maximum length before truncating after any processing: 15 characters
- Non alphanumeric characters are replaced with
- - Multiple
-consecutive characters are shrunk to a single one - removes the top folder of the branch when using branches like
feature/nameso that tag is processed onnameonly - For Pull requests, if a branch cannot be located by its SHA hash then the tag will become
pr-idwhereidis the id of the pull request - if no suitable tag can be generated the tag
prereleasewill be used.
Command line arguments
-x, --WarningsAsErrors (Default: false) Whether warnings should be errors
-b, --BuildNumber (Default: -1) The build number (use BUILD_NUMBER envrionment variable)
-s, --ReleaseSuffix (Default: ) The release suffix
-p, --Package (Default: ) The package being released
--help Display this help screen.
--version Display version information.
Running without arguments
This will attempt to retrieve the build number (counter) from an environment variable:
- BUILD_NUMBER (Set by CI tools like TeamCity)
dotnet buildversion
Running with release branches in format /release/version
dotnet buildversion --BuildNumber 272
or
dotnet buildversion --b272
Running with release branches in format /release-product/version
dotnet buildversion --BuildNumber 272 --ReleaseSuffix "product"
or
dotnet buildversion -b272 -s"product"
Running with release branches in format /release-product/package/version
dotnet buildversion --BuildNumber 272 --ReleaseSuffix "product" --Package "package"
or
dotnet buildversion -b272 -s"product" -p"package"
Running with release branches in format /release/package/version
dotnet buildversion --BuildNumber 272 --Package "package"
or
dotnet buildversion -b272 -p"package"
Integrations
TeamCity
- Picks up the
BUILD_NUMBERenvironment variable for the build number - If
TEAMCITY_VERSIONenvironment variable is defined then thesystem.build.versionandbuildNumbervariables will be set to match the build version that the tool produces
GitHub Actions
- If
GITHUB_ENVenvironment variable is defined then theBUILD_VERSIONenvironment variable will be set to match the build version that the tool produces.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 |
|---|---|---|
| 6.2.18.1802-dotnet-sdk-10-0 | 0 | 2/13/2026 |
| 6.2.18.1798-main | 80 | 2/5/2026 |
| 6.2.18.1796-main | 97 | 1/23/2026 |
| 6.2.18.1795-main | 96 | 1/23/2026 |
| 6.2.18.1794-main | 99 | 1/20/2026 |
| 6.2.18.1793-dotnet-sdk-10-0 | 95 | 1/20/2026 |
| 6.2.18.1792-main | 102 | 1/14/2026 |
| 6.2.18.1790-main | 109 | 1/9/2026 |
| 6.2.18.1789-main | 110 | 1/9/2026 |
| 6.2.18.1788-main | 216 | 12/23/2025 |
| 6.2.18.1787-main | 274 | 12/19/2025 |
| 6.2.18.1786-main | 314 | 12/18/2025 |
| 6.2.18.1784-main | 488 | 12/10/2025 |
| 6.2.18.1783-dotnet-sdk-10-0 | 478 | 12/10/2025 |
| 6.2.18.1782-main | 729 | 12/3/2025 |
| 6.2.18.1773-main | 722 | 12/2/2025 |
| 6.2.18.1772-main | 731 | 12/2/2025 |
| 6.2.18.1769-main | 259 | 11/25/2025 |
| 6.2.17.1375 | 15,677 | 6/2/2025 |
| 6.2.16.383-main | 373 | 4/10/2024 |
Loading failed