Re-enable git lfs
parent
e23a19aecb
commit
d9bb6a323a
|
|
@ -6,7 +6,7 @@ githubSha=$3
|
||||||
|
|
||||||
cd $repoPathFull
|
cd $repoPathFull
|
||||||
|
|
||||||
echo ''
|
echo ' '
|
||||||
echo "Cloning the repository being built:"
|
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"
|
||||||
|
|
@ -17,5 +17,9 @@ git remote add origin $cloneUrl
|
||||||
# Get remote version
|
# Get remote version
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git reset --hard $githubSha
|
git reset --hard $githubSha
|
||||||
|
# ENABLE LFS
|
||||||
|
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||||
|
git config --global filter.lfs.process "git-lfs filter-process"
|
||||||
|
# List git lfs files
|
||||||
git lfs ls-files --all
|
git lfs ls-files --all
|
||||||
echo ''
|
echo ' '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue