Correct clone without LFS files

pull/273/head
Frostebite 2021-07-26 00:07:54 +01:00 committed by GitHub
parent 810cb0bf9c
commit 919a87a05f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
apk add git-lfs
repoPathFull=$1
cloneUrl=$2
githubSha=$3
@ -8,9 +10,8 @@ cd $repoPathFull
echo ' '
echo "Cloning the repository being built:"
git clone $cloneUrl $githubSha
apk add git-lfs
git clone --filter=blob:none --no-checkout $cloneUrl
git checkout $githubSha
tree
echo ' '