FunFair.BuildVersion.linux-x64
6.2.20.2439-main
See the version list below for details.
dotnet add package FunFair.BuildVersion.linux-x64 --version 6.2.20.2439-main
NuGet\Install-Package FunFair.BuildVersion.linux-x64 -Version 6.2.20.2439-main
<PackageReference Include="FunFair.BuildVersion.linux-x64" Version="6.2.20.2439-main" />
<PackageVersion Include="FunFair.BuildVersion.linux-x64" Version="6.2.20.2439-main" />
<PackageReference Include="FunFair.BuildVersion.linux-x64" />
paket add FunFair.BuildVersion.linux-x64 --version 6.2.20.2439-main
#r "nuget: FunFair.BuildVersion.linux-x64, 6.2.20.2439-main"
#:package FunFair.BuildVersion.linux-x64@6.2.20.2439-main
#addin nuget:?package=FunFair.BuildVersion.linux-x64&version=6.2.20.2439-main&prerelease
#tool nuget:?package=FunFair.BuildVersion.linux-x64&version=6.2.20.2439-main&prerelease
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.2.20.2442-main | 0 | 10/23/2026 |
| 6.2.20.2441-main | 0 | 10/23/2026 |
| 6.2.20.2440-main | 0 | 10/22/2026 |
| 6.2.20.2439-main | 0 | 10/22/2026 |
| 6.2.20.2438-main | 7 | 10/22/2026 |
| 6.2.20.2437-main | 5 | 10/22/2026 |
| 6.2.20.2436-main | 22 | 10/22/2026 |
| 6.2.20.2435-main | 31 | 10/22/2026 |
| 6.2.20.2434-main | 26 | 10/22/2026 |
| 6.2.20.2433-main | 26 | 10/22/2026 |
| 6.2.20.2432-update-mezianto | 40 | 10/22/2026 |
| 6.2.20.2431-main | 46 | 10/21/2026 |
| 6.2.20.2430-main | 34 | 10/21/2026 |
| 6.2.20.2429-main | 35 | 10/21/2026 |
| 6.2.20.2428-main | 37 | 10/21/2026 |
| 6.2.20.2427-main | 75 | 10/20/2026 |
| 6.2.20.2426-main | 70 | 10/20/2026 |
| 6.2.20.2425-main | 70 | 10/20/2026 |
| 6.2.20.2424-main | 69 | 10/20/2026 |
| 6.2.19.2266 | 11,355 | 8/19/2026 |
### Fixed
- Fixed backslash path separators in ProjectReference paths to satisfy the msbuild-path-separator check
### Changed
- Switched test projects from xunit.v3.mtp-v2 to the Native AOT-compatible xunit.v3.aot.mtp-v2 and bumped FunFair.Test.Common/FunFair.Test.Source.Generator to 6.4.0.2617
- Dependencies - Updated CSharpIsNullAnalyzer to 0.2.19
- Dependencies - Updated Credfeto.Extensions.Linq to 1.0.160.1934
- Restricted NuGet PackageReference asset flow (IncludeAssets) on non-analyzer packages to reduce build-time supply-chain risk, per meziantou.net guidance on limiting what NuGet packages can do
- Dependencies - Updated Nullable.Extended.Analyzer to 1.16.6891
- Dependencies - Updated Credfeto.Enumeration to 1.2.154.2267
- Dependencies - Updated FunFair.Test to 6.4.6.2749
- Dependencies - Updated FunFair.Test.Source.Generator to 6.4.6.2749
- Dependencies - Updated Credfeto.Version.Information.Generator to 1.0.138.1557
- Dependencies - Updated Microsoft.Sbom.Targets to 4.1.13
- SDK - Updated DotNet SDK to 10.0.402
- Dependencies - Updated FunFair.CodeAnalysis to 7.2.20.2501
- Dependencies - Updated Meziantou.Analyzer to 3.0.303
- Dependencies - Updated Microsoft.VisualStudio.Threading.Analyzers to 18.12.1
- Dependencies - Updated Roslynator.Analyzers to 5.0.1
- Dependencies - Updated SonarAnalyzer.CSharp to 10.35.0.4138
- Dependencies - Updated xunit.analyzers to 2.2.0
- Dependencies - Updated xunit.v3 to 4.0.2
- Dependencies - Updated Microsoft.Extensions to 10.0.13