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"
|
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}
|
git clone https://${buildParameters.githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git ${repoPathFull}
|
||||||
echo "Checkout"
|
echo "Checkout"
|
||||||
git checkout $GITHUB_SHA --work-tree=${repoPathFull}
|
cd ${repoPathFull}
|
||||||
|
git checkout $GITHUB_SHA
|
||||||
echo "Enable LFS"
|
echo "Enable LFS"
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||||
git config --global filter.lfs.process "git-lfs filter-process"
|
git config --global filter.lfs.process "git-lfs filter-process"
|
||||||
|
cd
|
||||||
echo "combine lfs hashes to one file, hash that"
|
echo "combine lfs hashes to one file, hash that"
|
||||||
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
||||||
ls ${repoPathFull}
|
ls ${repoPathFull}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -109,10 +109,12 @@ class RemoteBuilder {
|
||||||
process.env.GITHUB_REPOSITORY
|
process.env.GITHUB_REPOSITORY
|
||||||
}.git ${repoPathFull}
|
}.git ${repoPathFull}
|
||||||
echo "Checkout"
|
echo "Checkout"
|
||||||
git checkout $GITHUB_SHA --work-tree=${repoPathFull}
|
cd ${repoPathFull}
|
||||||
|
git checkout $GITHUB_SHA
|
||||||
echo "Enable LFS"
|
echo "Enable LFS"
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||||
git config --global filter.lfs.process "git-lfs filter-process"
|
git config --global filter.lfs.process "git-lfs filter-process"
|
||||||
|
cd
|
||||||
echo "combine lfs hashes to one file, hash that"
|
echo "combine lfs hashes to one file, hash that"
|
||||||
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
find ${repoPathFull}/.git/lfs/ -type f -exec md5sum "{}" + > ${repoPathFull}/lfsSum.chk
|
||||||
ls ${repoPathFull}
|
ls ${repoPathFull}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue