FunFair.BuildVersion.Interfaces 6.2.16.536-main

This is a prerelease version of FunFair.BuildVersion.Interfaces.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FunFair.BuildVersion.Interfaces --version 6.2.16.536-main                
NuGet\Install-Package FunFair.BuildVersion.Interfaces -Version 6.2.16.536-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.Interfaces" Version="6.2.16.536-main" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FunFair.BuildVersion.Interfaces --version 6.2.16.536-main                
#r "nuget: FunFair.BuildVersion.Interfaces, 6.2.16.536-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.
// Install FunFair.BuildVersion.Interfaces as a Cake Addin
#addin nuget:?package=FunFair.BuildVersion.Interfaces&version=6.2.16.536-main&prerelease

// Install FunFair.BuildVersion.Interfaces as a Cake Tool
#tool nuget:?package=FunFair.BuildVersion.Interfaces&version=6.2.16.536-main&prerelease                

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.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FunFair.BuildVersion.Interfaces:

Package Downloads
FunFair.BuildVersion.Detection

Build versioning.

FunFair.BuildVersion.Publishers

Build version publishing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.2.16.794-main 46 11/13/2024
6.2.16.793-main 36 11/13/2024
6.2.16.792-dotnet-sdk-9-0 36 11/13/2024
6.2.16.791-main 36 11/13/2024
6.2.16.790-main 47 11/13/2024
6.2.16.788-update-nuget-6 45 11/13/2024
6.2.16.787-update-microsof 44 11/13/2024
6.2.16.786-update-credfeto 49 11/12/2024
6.2.16.785-update-credfeto 46 11/12/2024
6.2.16.783-main 48 11/12/2024
6.2.16.782-main 49 11/12/2024
6.2.16.781-main 49 11/12/2024
6.2.16.780-main 47 11/12/2024
6.2.16.779-main 66 11/11/2024
6.2.16.778-main 79 11/11/2024
6.2.16.777-main 94 11/8/2024
6.2.16.776-main 88 11/8/2024
6.2.16.775-main 84 11/8/2024
6.2.16.774-main 82 11/7/2024
6.2.16.773-main 81 11/7/2024
6.2.16.772-main 73 11/7/2024
6.2.16.771-main 82 11/7/2024
6.2.16.769-main 80 11/6/2024
6.2.16.768-main 82 11/6/2024
6.2.16.767-main 76 11/6/2024
6.2.16.766-main 83 11/5/2024
6.2.16.764-main 76 11/4/2024
6.2.16.762-main 85 11/2/2024
6.2.16.761-main 82 11/1/2024
6.2.16.760-main 75 11/1/2024
6.2.16.759-main 78 11/1/2024
6.2.16.758-main 77 11/1/2024
6.2.16.757-main 81 11/1/2024
6.2.16.756-main 77 11/1/2024
6.2.16.755-main 75 11/1/2024
6.2.16.754-main 78 10/31/2024
6.2.16.753-main 76 10/31/2024
6.2.16.752-main 79 10/31/2024
6.2.16.751-main 80 10/30/2024
6.2.16.750-main 84 10/30/2024
6.2.16.749-main 87 10/30/2024
6.2.16.748-main 79 10/30/2024
6.2.16.747-main 85 10/30/2024
6.2.16.746-main 70 10/30/2024
6.2.16.745-main 82 10/29/2024
6.2.16.744-main 87 10/29/2024
6.2.16.743-main 89 10/29/2024
6.2.16.741-main 81 10/29/2024
6.2.16.738-main 82 10/28/2024
6.2.16.737-main 83 10/28/2024
6.2.16.736-main 84 10/28/2024
6.2.16.735-main 80 10/28/2024
6.2.16.734-main 80 10/28/2024
6.2.16.733-main 80 10/28/2024
6.2.16.730-main 81 10/28/2024
6.2.16.729-main 82 10/27/2024
6.2.16.728-main 88 10/27/2024
6.2.16.727-main 84 10/27/2024
6.2.16.726-main 83 10/27/2024
6.2.16.725-main 82 10/26/2024
6.2.16.724-main 79 10/26/2024
6.2.16.723-main 89 10/26/2024
6.2.16.722-main 84 10/26/2024
6.2.16.721-main 79 10/26/2024
6.2.16.720-main 87 10/26/2024
6.2.16.719-main 85 10/25/2024
6.2.16.718-main 88 10/25/2024
6.2.16.717-main 79 10/25/2024
6.2.16.716-main 81 10/25/2024
6.2.16.715-main 81 10/25/2024
6.2.16.714-main 81 10/25/2024
6.2.16.712-main 81 10/24/2024
6.2.16.710-main 89 10/23/2024
6.2.16.709-main 77 10/23/2024
6.2.16.708-main 84 10/23/2024
6.2.16.706-main 87 10/23/2024
6.2.16.705-main 81 10/22/2024
6.2.16.704-main 86 10/22/2024
6.2.16.703-main 84 10/22/2024
6.2.16.702-main 86 10/22/2024
6.2.16.701-main 81 10/22/2024
6.2.16.700-main 72 10/22/2024
6.2.16.694-main 93 10/22/2024
6.2.16.691-main 118 10/20/2024
6.2.16.690-main 124 10/19/2024
6.2.16.689-main 123 10/19/2024
6.2.16.688-main 131 10/18/2024
6.2.16.687-update-mezianto 129 10/18/2024
6.2.16.686-main 130 10/18/2024
6.2.16.685-main 145 10/18/2024
6.2.16.683-main 92 10/17/2024
6.2.16.682-main 71 10/17/2024
6.2.16.681-main 81 10/17/2024
6.2.16.680-main 81 10/17/2024
6.2.16.679-main 83 10/17/2024
6.2.16.678-main 84 10/17/2024
6.2.16.677-main 80 10/17/2024
6.2.16.676-update-credfeto 81 10/17/2024
6.2.16.668-main 74 10/17/2024
6.2.16.667-main 85 10/16/2024
6.2.16.666-main 86 10/16/2024
6.2.16.665-main 89 10/15/2024
6.2.16.664-main 78 10/15/2024
6.2.16.663-main 81 10/15/2024
6.2.16.662-main 80 10/14/2024
6.2.16.661-main 84 10/14/2024
6.2.16.658-main 92 10/14/2024
6.2.16.657-main 86 10/10/2024
6.2.16.654-main 86 10/8/2024
6.2.16.653-main 89 10/8/2024
6.2.16.650-main 83 10/8/2024
6.2.16.649-main 85 10/8/2024
6.2.16.648-main 94 10/8/2024
6.2.16.646-main 90 10/8/2024
6.2.16.642-main 93 10/8/2024
6.2.16.640-main 77 10/8/2024
6.2.16.637-main 85 10/7/2024
6.2.16.635-main 83 10/7/2024
6.2.16.633-main 90 10/4/2024
6.2.16.629-main 90 10/4/2024
6.2.16.623-main 88 10/3/2024
6.2.16.619-main 98 9/25/2024
6.2.16.617-main 91 9/25/2024
6.2.16.615-main 92 9/25/2024
6.2.16.614-main 93 9/24/2024
6.2.16.613-main 97 9/24/2024
6.2.16.612-main 96 9/24/2024
6.2.16.611-main 85 9/24/2024
6.2.16.609-main 90 9/24/2024
6.2.16.608-sdk-dotnet-9-pr 83 9/24/2024
6.2.16.604-main 104 9/23/2024
6.2.16.603-main 84 9/23/2024
6.2.16.602-main 78 9/23/2024
6.2.16.600-main 96 9/22/2024
6.2.16.599-update-mezianto 94 9/21/2024
6.2.16.597-main 83 9/21/2024
6.2.16.596-main 84 9/21/2024
6.2.16.582-main 126 9/11/2024
6.2.16.580-main 126 9/10/2024
6.2.16.579-main 122 9/10/2024
6.2.16.578-main 115 9/10/2024
6.2.16.577-main 117 9/10/2024
6.2.16.576-main 129 9/10/2024
6.2.16.574-main 111 9/10/2024
6.2.16.573-main 119 9/9/2024
6.2.16.572-main 114 9/7/2024
6.2.16.571-main 126 9/6/2024
6.2.16.570-main 110 9/6/2024
6.2.16.569-main 116 9/6/2024
6.2.16.567-main 111 9/6/2024
6.2.16.565-main 107 9/6/2024
6.2.16.564-main 124 9/5/2024
6.2.16.563-main 103 9/5/2024
6.2.16.562-main 116 9/5/2024
6.2.16.561-main 116 9/5/2024
6.2.16.560-main 112 9/5/2024
6.2.16.559-main 108 9/5/2024
6.2.16.558-main 111 9/5/2024
6.2.16.557-main 114 9/3/2024
6.2.16.556-main 112 8/31/2024
6.2.16.555-main 106 8/31/2024
6.2.16.554-main 105 8/31/2024
6.2.16.552-sdk-dotnet-9-pr 138 8/21/2024
6.2.16.551-main 128 8/21/2024
6.2.16.550-main 144 8/20/2024
6.2.16.549-main 134 8/20/2024
6.2.16.547-main 141 8/20/2024
6.2.16.545-main 130 8/20/2024
6.2.16.544-main 126 8/19/2024
6.2.16.543-main 131 8/19/2024
6.2.16.541-main 130 8/19/2024
6.2.16.540-main 132 8/15/2024
6.2.16.539-main 131 8/14/2024
6.2.16.538-main 124 8/14/2024
6.2.16.537-main 116 8/14/2024
6.2.16.536-main 129 8/14/2024
6.2.16.534-main 140 8/12/2024
6.2.16.533-main 101 8/6/2024
6.2.16.531-main 103 8/1/2024
6.2.16.530-main 99 8/1/2024
6.2.16.528-main 84 7/31/2024
6.2.16.527-main 78 7/31/2024
6.2.16.526-main 80 7/31/2024
6.2.16.525-main 101 7/30/2024
6.2.16.524-main 93 7/30/2024
6.2.16.522-main 96 7/30/2024
6.2.16.521-main 90 7/30/2024
6.2.16.520-main 114 7/20/2024
6.2.16.519-main 108 7/20/2024
6.2.16.518-main 109 7/20/2024
6.2.16.517-main 118 7/20/2024
6.2.16.516-main 113 7/19/2024
6.2.16.515-main 110 7/19/2024
6.2.16.514-sdk-dotnet-9-pr 107 7/19/2024
6.2.16.513-main 111 7/19/2024
6.2.16.512-main 107 7/19/2024
6.2.16.511-main 106 7/19/2024
6.2.16.510-main 104 7/19/2024
6.2.16.509-main 101 7/19/2024
6.2.16.508-main 110 7/19/2024
6.2.16.507-main 95 7/19/2024
6.2.16.506-main 104 7/19/2024
6.2.16.504-main 110 7/19/2024
6.2.16.502-main 112 7/18/2024
6.2.16.500-main 87 7/17/2024
6.2.16.499-main 88 7/17/2024
6.2.16.498-sdk-dotnet-9-pr 101 7/17/2024
6.2.16.497-main 99 7/17/2024
6.2.16.495-main 100 7/17/2024
6.2.16.494-main 100 7/17/2024
6.2.16.493-main 106 7/16/2024
6.2.16.492-main 107 7/16/2024
6.2.16.491-main 106 7/15/2024
6.2.16.489-main 109 7/12/2024
6.2.16.486-main 108 7/12/2024
6.2.16.485-main 112 7/12/2024
6.2.16.480-main 103 7/11/2024
6.2.16.478-main 113 7/11/2024
6.2.16.477-main 87 7/11/2024
6.2.16.476-main 93 7/11/2024
6.2.16.474-main 105 7/9/2024
6.2.16.473-main 101 7/9/2024
6.2.16.472-main 97 7/9/2024
6.2.16.471-main 128 6/28/2024
6.2.16.470-main 109 6/26/2024
6.2.16.469-update-sonarana 124 6/26/2024
6.2.16.468-main 117 6/26/2024
6.2.16.467-main 114 6/25/2024
6.2.16.466-main 126 6/15/2024
6.2.16.465-main 117 6/13/2024
6.2.16.464-main 118 6/13/2024
6.2.16.463-main 116 6/12/2024
6.2.16.462-main 112 6/12/2024
6.2.16.461-main 112 6/12/2024
6.2.16.460-main 112 6/12/2024
6.2.16.459-main 108 6/11/2024
6.2.16.458-main 103 6/11/2024
6.2.16.457-main 114 6/10/2024
6.2.16.456-main 111 6/10/2024
6.2.16.455-main 114 6/10/2024
6.2.16.451-main 108 6/6/2024
6.2.16.449-main 123 6/2/2024
6.2.16.448-main 128 6/2/2024
6.2.16.447-main 114 5/31/2024
6.2.16.445-main 126 5/30/2024
6.2.16.444-main 121 5/30/2024
6.2.16.443-main 124 5/29/2024
6.2.16.441-main 123 5/25/2024
6.2.16.440-main 117 5/25/2024
6.2.16.438-main 129 5/24/2024
6.2.16.436-main 125 5/23/2024
6.2.16.432-main 125 5/22/2024
6.2.16.428-main 117 5/19/2024
6.2.16.427-main 110 5/19/2024
6.2.16.426-main 103 5/18/2024
6.2.16.425-main 121 5/17/2024
6.2.16.424-main 117 5/17/2024
6.2.16.423-main 117 5/17/2024
6.2.16.422-main 123 5/17/2024
6.2.16.421-main 120 5/17/2024
6.2.16.420-main 124 5/17/2024
6.2.16.419-main 116 5/17/2024
6.2.16.418-main 113 5/17/2024
6.2.16.417-main 117 5/17/2024
6.2.16.416-main 129 5/17/2024
6.2.16.415-main 117 5/17/2024
6.2.16.414-main 119 5/16/2024
6.2.16.413-main 108 5/16/2024
6.2.16.412-dotnet-sdk-8-0 106 5/16/2024
6.2.16.411-main 102 5/1/2024
6.2.16.409-main 139 4/30/2024
6.2.16.408-main 135 4/30/2024
6.2.16.406-main 141 4/30/2024
6.2.16.403-main 118 4/29/2024
6.2.16.401-main 137 4/25/2024
6.2.16.400-main 121 4/24/2024
6.2.16.398-main 104 4/23/2024
6.2.16.397-main 140 4/23/2024
6.2.16.393-main 122 4/18/2024
6.2.16.390-main 128 4/18/2024
6.2.16.389-main 129 4/16/2024
6.2.16.388-main 121 4/16/2024
6.2.16.386-main 122 4/15/2024
6.2.16.383-main 124 4/10/2024
6.2.16.382-main 124 4/10/2024
6.2.16.381-main 134 4/10/2024
6.2.16.380-main 120 4/10/2024
6.2.16.379-main 133 4/10/2024
6.2.16.378-main 132 4/10/2024
6.2.16.377-dotnet-sdk-8-0 127 4/10/2024
6.2.16.376-main 120 4/8/2024
6.2.16.375-main 136 4/8/2024
6.2.16.374-main 132 4/7/2024
6.2.16.373-main 132 4/7/2024
6.2.16.372-main 119 4/7/2024
6.2.16.371-main 133 4/7/2024
6.2.16.370-main 138 4/3/2024
6.2.16.368-main 132 4/2/2024
6.2.16.367-main 118 4/2/2024
6.2.16.366-main 122 4/2/2024
6.2.16.365-main 135 3/30/2024
6.2.16.364-main 130 3/29/2024
6.2.16.363-main 134 3/27/2024
6.2.16.361-main 131 3/26/2024
6.2.16.360-main 125 3/26/2024
6.2.16.359-main 145 3/25/2024
6.2.16.358-main 134 3/25/2024
6.2.16.355-main 139 3/25/2024
6.2.16.352-main 135 3/25/2024
6.2.16.351-main 133 3/20/2024
6.2.16.350-main 133 3/20/2024
6.2.16.349-main 129 3/20/2024
6.2.16.348-main 127 3/20/2024
6.2.16.347-main 127 3/19/2024
6.2.16.346-main 124 3/19/2024
6.2.16.344-main 116 3/19/2024
6.2.16.343-main 134 3/14/2024
6.2.16.341-main 135 3/8/2024
6.2.16.340-main 114 3/8/2024
6.2.16.338-main 135 3/7/2024
6.2.16.337-main 125 3/7/2024
6.2.16.336-main 144 3/4/2024
6.2.16.335-main 141 2/27/2024
6.2.16.334-main 137 2/27/2024
6.2.16.333-main 130 2/26/2024
6.2.16.332-main 127 2/26/2024
6.2.16.331-main 132 2/26/2024
6.2.16.330-main 124 2/25/2024
6.2.16.329-main 128 2/25/2024
6.2.16.327-main 134 2/25/2024
6.2.16.326-main 142 2/25/2024
6.2.16.325-main 130 2/25/2024
6.2.16.324-main 148 2/25/2024
6.2.16.323-main 125 2/24/2024
6.2.16.322-main 151 2/20/2024
6.2.16.321-main 139 2/20/2024
6.2.16.320-main 148 2/20/2024
6.2.16.319-main 129 2/19/2024
6.2.16.317-main 151 2/12/2024
6.2.16.316-main 146 2/12/2024
6.2.16.315-main 127 2/12/2024
6.2.16.314-main 154 2/11/2024
6.2.16.313-main 150 2/9/2024
6.2.16.312-main 139 2/9/2024
6.2.16.311-update-funfair 136 2/9/2024
6.2.16.310-update-funfair 129 2/9/2024
6.2.16.309-main 141 2/8/2024
6.2.16.308-main 135 2/8/2024
6.2.16.305-main 139 2/7/2024
6.2.16.304-main 148 2/7/2024
6.2.16.303-main 147 2/7/2024
6.2.16.302-main 142 2/7/2024
6.2.16.301-main 143 2/6/2024
6.2.16.300-main 139 2/6/2024
6.2.16.299-main 141 2/6/2024
6.2.16.298-main 129 2/5/2024
6.2.16.297-main 139 2/5/2024
6.2.16.296-main 136 1/31/2024
6.2.16.295-main 128 1/31/2024
6.2.16.293-main 132 1/30/2024
6.2.16.292-main 118 1/29/2024
6.2.16.291-build 128 1/29/2024
6.2.16.290-build 136 1/29/2024
6.2.16.289-build 127 1/29/2024
6.2.16.288-build 128 1/29/2024
6.2.16.287-build 126 1/29/2024
6.2.16.286-main 119 1/29/2024
6.2.16.285-main 132 1/27/2024
6.2.16.284-main 133 1/26/2024
6.2.16.283-main 122 1/25/2024
6.2.16.282-main 112 1/24/2024
6.2.16.281-main 132 1/23/2024
6.2.16.280-main 124 1/17/2024
6.2.16.279-main 143 1/16/2024
6.2.16.278-main 131 1/15/2024
6.2.16.277-main 138 1/15/2024
6.2.16.276-main 139 1/15/2024
6.2.16.275-main 138 1/14/2024
6.2.16.274-main 141 1/13/2024
6.2.16.273-main 129 1/13/2024
6.2.16.272-main 134 1/10/2024
6.2.16.271-main 143 1/9/2024
6.2.16.270-main 156 1/7/2024
6.2.16.269-main 156 1/6/2024
6.2.16.268-main 148 1/6/2024
6.2.16.266-main 140 1/5/2024
6.2.16.265-main 160 1/5/2024
6.2.16.264-main 137 1/5/2024
6.2.16.263-main 154 1/5/2024
6.2.16.262-main 151 1/5/2024
6.2.16.261-main 141 1/5/2024
6.2.16.260-main 146 1/4/2024
6.2.16.259-main 135 1/4/2024
6.2.16.258-main 147 1/2/2024
6.2.16.256-main 169 12/30/2023
6.2.16.255-main 158 12/30/2023
6.2.16.254-main 154 12/28/2023
6.2.16.253-main 181 12/28/2023
6.2.16.252-main 138 12/26/2023
6.2.16.251-main 149 12/26/2023
6.2.15.250 9,805 12/24/2023
6.2.15.249-main 175 12/24/2023
6.2.15.248-main 138 12/23/2023
6.2.15.247-main 153 12/23/2023
6.2.15.246-main 140 12/23/2023
6.2.15.245-main 148 12/23/2023
6.2.15.244-main 153 12/23/2023
6.2.15.243-main 143 12/23/2023
6.2.15.242-main 151 12/23/2023
6.2.15.241-main 142 12/23/2023
6.2.15.240-main 189 12/21/2023
6.2.15.239-main 136 12/21/2023
6.2.15.238-main 158 12/21/2023