SemanticVersionBuildMetaData.

ToString(string, IFormatProvider?) Method

Summary

b - Formats just the build number

s - Formats the build number and the Git Sha

f - Formats the full build metadata

p - Formats the padded build number. Can specify an integer for padding, default is 4. (i.e., p5)

Namespace
GitVersion
Containing Type
SemanticVersionBuildMetaData

Syntax

public string ToString(string format, IFormatProvider? formatProvider)

Parameters

Name Type Description
format string
formatProvider IFormatProvider?

Return Value

Type Description
string
GitHub