Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found
here.
If the API is already migrated you can check here if exists in a module.
More information regarding the migration can be found here
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 overwriteOriginal
toNone
in order to recalculate the version string. Note: For overwriting thePreRelease
part use:{ Version with Original = None; PreRelease = PreRelease.TryParse "alpha.1" }
Record Fields
Record Field | Description |
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 member | Description |
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
|