SemanticVersionPreReleaseTag.

ToString(string, IFormatProvider?) Method

Summary

Default formats:

t - SemVer 2.0 formatted tag [beta.1]

l - Legacy SemVer tag with the tag number padded. [beta1]

lp - Legacy SemVer tag with the tag number padded. [beta0001]. Can specify an integer to control padding (i.e., lp5)

Namespace
GitVersion
Containing Type
SemanticVersionPreReleaseTag

Syntax

public string ToString(string format, IFormatProvider? formatProvider)

Parameters

Name Type Description
format string
formatProvider IFormatProvider?

Return Value

Type Description
string
GitHub