27 lines
951 B
Markdown
27 lines
951 B
Markdown
|
|
# `Geekeey.SemVer`
|
||
|
|
|
||
|
|
SemVer is a .NET library for parsing and comparing semantic version numbers. It provides a simple API for working with
|
||
|
|
semantic versioning, making it easy to manage version numbers in your .NET projects.
|
||
|
|
|
||
|
|
## Features
|
||
|
|
|
||
|
|
- **Parsing**: Parse semantic version strings into structured objects.
|
||
|
|
- **Comparison**: Compare semantic version objects to determine their order.
|
||
|
|
- **Validation**: Validate semantic version strings to ensure they conform to the SemVer specification.
|
||
|
|
- **Pre-release and Build Metadata**: Support for pre-release versions and build metadata as defined in the SemVer specification.
|
||
|
|
|
||
|
|
## Getting Started
|
||
|
|
|
||
|
|
### Install the NuGet package:
|
||
|
|
|
||
|
|
```shell
|
||
|
|
dotnet add package Geekeey.SemVer
|
||
|
|
```
|
||
|
|
|
||
|
|
You may need to add our NuGet feed to your `nuget.config` this can be done by running the following command:
|
||
|
|
|
||
|
|
```shell
|
||
|
|
dotnet nuget add source -n geekeey https://code.geekeey.de/api/packages/geekeey/nuget/index.json
|
||
|
|
```
|
||
|
|
|
||
|
|
### Usage
|