mirror of
https://github.com/microsoft/vcpkg
synced 2024-11-21 16:09:03 -07:00
[doc] Update manifest to reference versioning spec (#17549)
* Update manifest to reference versioning spec Currently only `version-string` is included in the manifest-files.md. However there are more variants of this field. This PR adds a cross link to the versioning specification. fixes #17548 * move version field up * list different version schemes * remove comma * Update docs/maintainers/manifest-files.md Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
713e3aeb3f
commit
4de6cd5ed8
1 changed files with 12 additions and 3 deletions
|
@ -69,9 +69,18 @@ numbers, and hyphens, and it must not begin nor end with a hyphen.
|
|||
|
||||
### Version fields
|
||||
|
||||
The library version. There is currently only one kind of version, a `"version-string"` -
|
||||
however, more version kinds will be added later. Additionally,
|
||||
`"port-version"` is used to differentiate between port changes that don't change the underlying library version.
|
||||
Currently there are different fields for special versioning. Namely:
|
||||
|
||||
Manifest property | Versioning scheme
|
||||
------------------|------------------------------------
|
||||
`version` | For dot-separated numeric versions
|
||||
`version-semver` | For SemVer compliant versions
|
||||
`version-date` | For dates in the format YYYY-MM-DD
|
||||
`version-string` | For arbitrary strings
|
||||
|
||||
See https://github.com/microsoft/vcpkg/blob/master/docs/specifications/versioning.md#22-package-versions for more details.
|
||||
|
||||
Additionally, `"port-version"` is used to differentiate between port changes that don't change the underlying library version.
|
||||
|
||||
#### `"version-string"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue