tree
parent
aeca8e9153
commit
d8f962fc2f
|
|
@ -2110,6 +2110,8 @@ class RemoteBuilder {
|
|||
tree ${steamPathFull}
|
||||
echo "Cloning utility repositories required for building:"
|
||||
git clone ${repo} ${builderPathFull}
|
||||
git reset --hard --work-tree=${builderPathFull}
|
||||
git checkout unified-providers --work-tree=${builderPathFull}
|
||||
git clone ${repo2} ${steamPathFull}
|
||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4,16 +4,16 @@ repoPathFull=$1
|
|||
cloneUrl=$2
|
||||
githubSha=$3
|
||||
|
||||
cd $repoPathFull
|
||||
echo ''
|
||||
echo "Cloning the repository being built:"
|
||||
# DISABLE LFS
|
||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||
git config --global filter.lfs.process "git-lfs filter-process --skip"
|
||||
echo ''
|
||||
echo "Cloning the repository being built:"
|
||||
git init -q
|
||||
git remote add origin $cloneUrl
|
||||
git fetch origin
|
||||
echo $githubSha
|
||||
git reset --hard $githubSha
|
||||
git lfs ls-files --all
|
||||
# Init new repo and setup origin
|
||||
git init --work-tree=$repoPathFull
|
||||
git remote add origin $cloneUrl --work-tree=$repoPathFull
|
||||
# Get remote version
|
||||
git fetch origin --work-tree=$repoPathFull
|
||||
git reset --hard $githubSha --work-tree=$repoPathFull
|
||||
git lfs ls-files --all --work-tree=$repoPathFull
|
||||
echo ''
|
||||
|
|
|
|||
|
|
@ -119,6 +119,8 @@ class RemoteBuilder {
|
|||
tree ${steamPathFull}
|
||||
echo "Cloning utility repositories required for building:"
|
||||
git clone ${repo} ${builderPathFull}
|
||||
git reset --hard --work-tree=${builderPathFull}
|
||||
git checkout unified-providers --work-tree=${builderPathFull}
|
||||
git clone ${repo2} ${steamPathFull}
|
||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
|
||||
|
|
|
|||
Loading…
Reference in New Issue