late install git lfs
parent
f11ead0ee4
commit
462bb3cb19
|
|
@ -8,16 +8,9 @@ cd $repoPathFull
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "Cloning the repository being built:"
|
echo "Cloning the repository being built:"
|
||||||
# DISABLE LFS
|
git clone $cloneUrl $githubSha
|
||||||
export GIT_LFS_SKIP_SMUDGE=1
|
|
||||||
# Init new repo and setup origin
|
apk add git-lfs
|
||||||
git init
|
|
||||||
git remote add origin $cloneUrl
|
|
||||||
# Get remote version
|
|
||||||
git fetch origin
|
|
||||||
git reset --hard $githubSha
|
|
||||||
# ENABLE LFS
|
|
||||||
export GIT_LFS_SKIP_SMUDGE=0
|
|
||||||
|
|
||||||
tree
|
tree
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
@ -26,6 +19,6 @@ git lfs ls-files --all
|
||||||
echo ' '
|
echo ' '
|
||||||
git lfs ls-files -l | cut -d ' ' -f1 | sort
|
git lfs ls-files -l | cut -d ' ' -f1 | sort
|
||||||
echo ' '
|
echo ' '
|
||||||
git lfs ls-files -l | cut -d ' ' -f1 | sort > $1/.lfs-assets-id
|
git lfs ls-files -l | cut -d ' ' -f1 | sort > .lfs-assets-id
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue