SemanticVersion.

ToString(string, IFormatProvider?) Method

Summary

s - Default SemVer [1.2.3-beta.4]

f - Full SemVer [1.2.3-beta.4+5]

i - Informational SemVer [1.2.3-beta.4+5.Branch.main.BranchType.main.Sha.000000]

j - Just the SemVer part [1.2.3]

t - SemVer with the tag [1.2.3-beta.4]

Namespace
GitVersion
Containing Type
SemanticVersion

Syntax

public string ToString(string format, IFormatProvider? formatProvider)

Parameters

Name Type Description
format string
formatProvider IFormatProvider?

Return Value

Type Description
string
GitHub