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
SemVer
Parser which allows to deal with Semantic Versioning (SemVer). Make sure to read the documentation in the SemVerInfo record as well if you manually create versions.
Functions and values
Function or value | Description | ||
SemVer.isValid(version)
Signature: version:string -> bool
|
Returns true if input appears to be a parsable semver string |
||
SemVer.parse(version)
Signature: version:string -> SemVerInfo
|
Parses the given version string into a SemVerInfo which can be printed using ToString() or compared according to the rules described in the SemVer docs. Sample
|