This is part of the Fake.Core.SemVer module.

SemVerInfo

Contains the version information. For parsing use SemVer.parse

Note: If you use { version with Patch = myPath; Original = None } to overwrite some parts of this string make sure to overwrite Original to None in order to recalculate the version string. Note: For overwriting the PreRelease part use: { Version with Original = None; PreRelease = PreRelease.TryParse "alpha.1" }

Record Fields

Record FieldDescription
Build
Signature: bigint

The optional build no.

BuildMetaData
Signature: string
Major
Signature: uint32

MAJOR version when you make incompatible API changes.

Minor
Signature: uint32

MINOR version when you add functionality in a backwards-compatible manner.

Original
Signature: string option
Patch
Signature: uint32

PATCH version when you make backwards-compatible bug fixes.

PreRelease
Signature: PreRelease option

The optional PreRelease version

Instance members

Instance memberDescription
x.AsString
Signature: string
x.CompareTo(y)
Signature: y:SemVerInfo -> int
x.Equals(y)
Signature: y:SemVerInfo -> bool
x.Normalize()
Signature: unit -> string
x.NormalizeToShorter()
Signature: unit -> string