aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-06-16 01:14:40 +0800
committerGitHub <noreply@github.com>2021-06-15 10:14:40 -0700
commit3910b2976721f0032b6593dad6ce09b39009922c (patch)
treecdb8a27542f3fc919c8951379bdfaeb42cc92deb /docs/examples
parent14418e1e48ff563382fbe970637425c52d109b16 (diff)
downloadvcpkg-3910b2976721f0032b6593dad6ce09b39009922c.tar.gz
vcpkg-3910b2976721f0032b6593dad6ce09b39009922c.zip
[vcpkg_download_distfile] Add condition for padding the SHA (#18459)
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/packaging-github-repos.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/packaging-github-repos.md b/docs/examples/packaging-github-repos.md
index 4d9f7e11a..3a0e81c2f 100644
--- a/docs/examples/packaging-github-repos.md
+++ b/docs/examples/packaging-github-repos.md
@@ -27,7 +27,7 @@ vcpkg_from_github(
)
```
-The important parts to update are `REPO` for the GitHub repository path, `REF` for a stable tag/commit to use, and `SHA512` with the checksum of the downloaded zipfile (you can get this easily by setting it to `1`, trying to install the package, and copying the checksum).
+The important parts to update are `REPO` for the GitHub repository path, `REF` for a stable tag/commit to use, and `SHA512` with the checksum of the downloaded zipfile (you can get this easily by setting it to `0`, trying to install the package, and copying the checksum).
Finally, we configure the project with CMake, install the package, and copy over the license file: