Correct clone without LFS files
parent
810cb0bf9c
commit
919a87a05f
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
apk add git-lfs
|
||||||
|
|
||||||
repoPathFull=$1
|
repoPathFull=$1
|
||||||
cloneUrl=$2
|
cloneUrl=$2
|
||||||
githubSha=$3
|
githubSha=$3
|
||||||
|
|
@ -8,9 +10,8 @@ cd $repoPathFull
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "Cloning the repository being built:"
|
echo "Cloning the repository being built:"
|
||||||
git clone $cloneUrl $githubSha
|
git clone --filter=blob:none --no-checkout $cloneUrl
|
||||||
|
git checkout $githubSha
|
||||||
apk add git-lfs
|
|
||||||
|
|
||||||
tree
|
tree
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue