-
Notifications
You must be signed in to change notification settings - Fork 15
NuGet Versioning
Pavel Anihimovsky edited this page Aug 30, 2019
·
1 revision
We use Azure Pipelines with GitVersion to automatically create NuGet packages on each merge in master branch. The version matches with SemVer.
Version template: v{major}.{minor}.{patch}.
By default CICD pipeline increments {patch}, pushes package to NuGet and creates GitHub Release.
If you need to increment {minor} you can simply add +semver: feature or +semver: minor string to merge commit on GitHub.
If you need to increment {major} you can simply add +semver: breaking or +semver: major string to merge commit on GitHub.