Perform a full clone of vcpkg instead of depth=1 (#4272)

The vcpkg versioning feature relies on retrieving information from its git repository history. This means users need a deep clone.
This commit is contained in:
Robert Schumacher
2021-11-11 00:54:32 -08:00
committed by GitHub
parent 63998e0de1
commit 206a818319
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
# Install vcpkg
git clone --depth=1 https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install