SemanticVersion.

CompareTo(SemanticVersion, bool) Method

Summary

Compares this version to value, optionally excluding the pre-release tag from the comparison.
Namespace
GitVersion
Containing Type
SemanticVersion

Syntax

public int CompareTo(SemanticVersion value, bool includePreRelease)

Parameters

Name Type Description
value SemanticVersion
includePreRelease bool

Return Value

Type Description
int
GitHub