Version
Represents a simple version class to use for versioning.
Parameters
The major version.
The minor version.
The patch version.
The build version, this is only needed if the ReleaseType is not None
.
The release type to use for the finalized result. Defaults to ReleaseType.None.
If the patch number should be shown or not if patch is 0
Constructors
Represents a simple version class to use for versioning.
Represents a simple version class to use for versioning.
Represents a simple version class to use for versioning.
Properties
Returns the commit sha if the project is in a Git repository. Returns null
if a IOException had occurred.
Functions
Returns the commit sha if the project is in a Git repository. Returns null
if a IOException had occurred.
Checks if the constraint is satisfied by this current version object.