aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-02-20 21:17:04 -0800
committerGitHub <noreply@github.com>2021-02-20 21:17:04 -0800
commit5c1731cf74fbd61bdce95c1daa8440b05c0df353 (patch)
treee69bc072208b90a19a686fef4021e3c43e6681c2 /docs
parent6c70d57a1ae8e9d520a5cdbf42f20e534657b70a (diff)
downloadvcpkg-5c1731cf74fbd61bdce95c1daa8440b05c0df353.tar.gz
vcpkg-5c1731cf74fbd61bdce95c1daa8440b05c0df353.zip
[vcpkg docs] Update the versioning.getting-started.md (#16324)
Diffstat (limited to 'docs')
-rw-r--r--docs/users/versioning.getting-started.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users/versioning.getting-started.md b/docs/users/versioning.getting-started.md
index 8ae03f884..6be419adf 100644
--- a/docs/users/versioning.getting-started.md
+++ b/docs/users/versioning.getting-started.md
@@ -46,6 +46,7 @@ Create a folder with the following files:
**main.cpp**
```c++
#include <fmt/core.h>
+#include <zlib.h>
int main()
{
@@ -160,7 +161,7 @@ If you want to upgrade your dependencies, you can bump the minimum version const
"builtin-baseline": "b60f003ccf5fe8613d029f49f835c8929a66eb61"
```
-This field declares the versioning baseline for all ports. But what is a baseline? What does it do? Why is the value a SHA?
+This field declares the versioning baseline for all ports. Setting a baseline is required to enable versioning, otherwise you will get the current versions on the ports directory. You can run 'git rev-parse HEAD' to get the current commit of vcpkg and set it as the builtin-baseline. But what is a baseline? What does it do? Why is the value a SHA?
From the [versioning documentation](versioning.md):