Version examples
Default versioning examples. Showing how Git2SemVer adapts the version format to best match the build host (build host adaptive versioning).
Releases
Version |
Example |
Build system |
1.2.3+7658 |
NuGet - filename |
1.2.3 |
Informational version |
1.2.3+7658.release-v1.34e6a01 |
Version |
Example |
Build system |
1.2.3+7658.1 |
NuGet - filename |
1.2.3 |
Informational version |
1.2.3+7658.1.release-v1.34e6a01 |
Version |
Example |
Build system |
1.2.3+DevPCName.7658 |
NuGet - filename |
1.2.3 |
Informational version |
1.2.3+DevPCName.7658.release-v1.34e6a01 |
Prereleases
TeamCity build versions.
The versions below assume this is beta
.
Version |
Example |
Build system |
1.2.3-beta.7658 |
NuGet - filename |
1.2.3-beta.7658 |
Informational version |
1.2.3-beta.7658+feature-mybranch.6ab397d5 |
GitHub worfklow build versions.
The versions below assume this is beta
.
Version |
Example |
Build system |
1.2.3-beta.7658.1 |
NuGet - filename |
1.2.3-beta.7658.1 |
Informational version |
1.2.3-beta.7658.1+feature-mybranch.6ab397d5 |
Uncontrolled (dev environment) builds. Uses host's managed build number and the machine name as the build context.
The versions below assume a host machine name of DevPCName
.
Version |
Example |
Build system |
1.2.3-beta.DevPCName.212 |
NuGet - filename |
1.2.3-beta.DevPCName.212 |
Informational version |
1.2.3-beta.DevPCName.212+feature-mybranch.6ab397d5 |