FunFair.BuildVersion.osx-arm64 6.2.18.1738-main

This is a prerelease version of FunFair.BuildVersion.osx-arm64.
dotnet add package FunFair.BuildVersion.osx-arm64 --version 6.2.18.1738-main
                    
NuGet\Install-Package FunFair.BuildVersion.osx-arm64 -Version 6.2.18.1738-main
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FunFair.BuildVersion.osx-arm64" Version="6.2.18.1738-main" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FunFair.BuildVersion.osx-arm64" Version="6.2.18.1738-main" />
                    
Directory.Packages.props
<PackageReference Include="FunFair.BuildVersion.osx-arm64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FunFair.BuildVersion.osx-arm64 --version 6.2.18.1738-main
                    
#r "nuget: FunFair.BuildVersion.osx-arm64, 6.2.18.1738-main"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FunFair.BuildVersion.osx-arm64@6.2.18.1738-main
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FunFair.BuildVersion.osx-arm64&version=6.2.18.1738-main&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FunFair.BuildVersion.osx-arm64&version=6.2.18.1738-main&prerelease
                    
Install as a Cake Tool

Build Version

Simpler/faster git specific version builder

Build Status

Branch Status
main Build: Pre-Release
release Build: 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 4 is a build number passed to the tool
    • where tag is generated from the branch name (or matching branch for a pull request if it can be located)

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/name so that tag is processed on name only
  • For Pull requests, if a branch cannot be located by its SHA hash then the tag will become pr-id where id is the id of the pull request
  • if no suitable tag can be generated the tag prerelease will 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_NUMBER environment variable for the build number
  • If TEAMCITY_VERSION environment variable is defined then the system.build.version and buildNumber variables will be set to match the build version that the tool produces

GitHub Actions

  • If GITHUB_ENV environment variable is defined then the BUILD_VERSION environment variable will be set to match the build version that the tool produces.
There are no supported framework assets in this package.

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.18.1738-main 109 10/16/2025
6.2.18.1736-main 109 10/15/2025
6.2.18.1735-main 114 10/15/2025
6.2.18.1733-main 114 10/13/2025
6.2.18.1732-main 121 10/13/2025
6.2.18.1730-main 116 10/13/2025
6.2.18.1727-main 60 10/11/2025
6.2.18.1726-main 116 10/8/2025
6.2.18.1725-main 120 10/8/2025
6.2.18.1724-main 117 10/8/2025
6.2.18.1723-main 111 10/8/2025
6.2.18.1721-main 114 10/7/2025
6.2.18.1720-main 114 10/7/2025
6.2.18.1719-main 111 10/7/2025
6.2.18.1718-main 120 10/7/2025
6.2.18.1717-main 113 10/7/2025
6.2.18.1714-main 119 10/6/2025
6.2.18.1711-main 120 10/5/2025
6.2.18.1710-main 123 10/2/2025
6.2.18.1708-main 119 10/1/2025
6.2.18.1706-main 119 9/30/2025
6.2.18.1705-main 117 9/30/2025
6.2.18.1704-main 116 9/30/2025
6.2.18.1703-main 119 9/30/2025
6.2.18.1698-main 121 9/23/2025
6.2.18.1697-main 135 9/23/2025
6.2.18.1695-main 132 9/22/2025
6.2.18.1694-main 132 9/22/2025
6.2.18.1693-main 193 9/22/2025
6.2.18.1691-main 255 9/17/2025
6.2.18.1690-main 252 9/17/2025
6.2.18.1689-main 255 9/17/2025
6.2.18.1687-main 256 9/16/2025
6.2.18.1686-main 175 9/15/2025
6.2.18.1684-main 113 9/12/2025
6.2.18.1682-main 126 9/11/2025
6.2.18.1681-sdk-dotnet-10-p 128 9/11/2025
6.2.18.1680-sdk-dotnet-10-p 127 9/11/2025