2021-07-13 00:06:13 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
repoPathFull=$1
|
|
|
|
|
cloneUrl=$2
|
|
|
|
|
githubSha=$3
|
|
|
|
|
|
|
|
|
|
cd $repoPathFull
|
|
|
|
|
|
|
|
|
|
echo ' '
|
|
|
|
|
echo "Cloning the repository being built:"
|
2021-07-13 00:17:43 +00:00
|
|
|
git clone $cloneUrl $repoPathFull $githubSha
|
2021-07-13 00:12:49 +00:00
|
|
|
|
|
|
|
|
apk add git-lfs
|
2021-07-13 00:06:13 +00:00
|
|
|
|
|
|
|
|
tree
|
|
|
|
|
echo ' '
|
|
|
|
|
# List git lfs files
|
|
|
|
|
git lfs ls-files --all
|
|
|
|
|
echo ' '
|
|
|
|
|
git lfs ls-files -l | cut -d ' ' -f1 | sort
|
|
|
|
|
echo ' '
|
2021-07-13 00:12:49 +00:00
|
|
|
git lfs ls-files -l | cut -d ' ' -f1 | sort > .lfs-assets-id
|
2021-07-13 00:06:13 +00:00
|
|
|
|
|
|
|
|
echo ' '
|