Collect lfs file into .lfs-asset-id file and print
parent
dc3087fd64
commit
1ad3f2d3a7
|
|
@ -2098,10 +2098,12 @@ class RemoteBuilder {
|
|||
echo "Get source repo for project to be built and game-ci repo for utilties"
|
||||
git clone https://${buildParameters.githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git ${repoPathFull}
|
||||
echo "Checkout"
|
||||
git checkout $GITHUB_SHA --work-tree=${repoPathFull}
|
||||
cd ${repoPathFull}
|
||||
git checkout $GITHUB_SHA
|
||||
echo "Enable LFS"
|
||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||
git config --global filter.lfs.process "git-lfs filter-process"
|
||||
cd
|
||||
echo "combine lfs hashes to one file, hash that"
|
||||
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
||||
ls ${repoPathFull}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -109,10 +109,12 @@ class RemoteBuilder {
|
|||
process.env.GITHUB_REPOSITORY
|
||||
}.git ${repoPathFull}
|
||||
echo "Checkout"
|
||||
git checkout $GITHUB_SHA --work-tree=${repoPathFull}
|
||||
cd ${repoPathFull}
|
||||
git checkout $GITHUB_SHA
|
||||
echo "Enable LFS"
|
||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||
git config --global filter.lfs.process "git-lfs filter-process"
|
||||
cd
|
||||
echo "combine lfs hashes to one file, hash that"
|
||||
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
||||
ls ${repoPathFull}
|
||||
|
|
|
|||
Loading…
Reference in New Issue