pull/273/head
Frostebite 2021-07-12 22:33:50 +01:00
parent aeca8e9153
commit d8f962fc2f
4 changed files with 14 additions and 10 deletions

2
dist/index.js vendored
View File

@ -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}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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 ''

View File

@ -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}