-
Notifications
You must be signed in to change notification settings - Fork 1
Encode Semver To Integer
Adrien Siffermann edited this page Aug 4, 2016
·
2 revisions
![]()
With this task, you can encode a semantic version number to an integer, assigning each part to configurable bits.

You will find the task in the "Utility" category.

- Semver to be encoded - ex : $(GitVersion_SemVer)
- Output variable name - ex : VersionCode, which can be further consumed by using $(VersionCode)
- Minor bits - Bits used to encode minor
- Patch bits - Bits used to encode patch
- PreReleaseTag bits - Bits used to encode PreReleaseTag
- PreReleaseTagBits Map - Map used to encode PreReleaseTag
- PreReleaseNumberMinor bits - Bits used to encode PreReleaseNumberMinor