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