This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.SemVer.
Summary
Parse a semantic version from a string
Syntax
public static SemVersion ParseSemVer(this ICakeContext context, string version, bool strict)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| version |
string |
The semantic version. |
| strict |
bool |
Enforce strict SemVer |
Return Value
| Type |
Description |
| SemVersion |
The semantic version string to parse. |