mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-13 22:28:36 +00:00
Fix release script to properly checkout .vcpkg-root in the temp dirs
This commit is contained in:
parent
6b2ac13699
commit
57b638fea9
@ -51,11 +51,9 @@ for ($disableMetrics = 0; $disableMetrics -le 1; $disableMetrics++)
|
||||
# Partial checkout for building vcpkg
|
||||
$dotGitDir = "$vcpkgRootDir\.git"
|
||||
$workTreeForBuildOnly = "$buildPath"
|
||||
$checkoutThisDirForBuildOnly1 = ".\scripts" # Must be relative to the root of the repository
|
||||
$checkoutThisDirForBuildOnly2 = ".\toolsrc" # Must be relative to the root of the repository
|
||||
$checkoutForBuildOnly = ".\scripts",".\toolsrc",".vcpkg-root" # Must be relative to the root of the repository
|
||||
Write-Verbose("Creating partial temporary checkout: $buildPath")
|
||||
git --git-dir="$dotGitDir" --work-tree="$workTreeForBuildOnly" checkout $gitHash -f -q -- $checkoutThisDirForBuildOnly1
|
||||
git --git-dir="$dotGitDir" --work-tree="$workTreeForBuildOnly" checkout $gitHash -f -q -- $checkoutThisDirForBuildOnly2
|
||||
git --git-dir="$dotGitDir" --work-tree="$workTreeForBuildOnly" checkout $gitHash -f -q -- $checkoutForBuildOnly
|
||||
|
||||
& "$buildPath\scripts\bootstrap.ps1" -disableMetrics $disableMetrics
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user