md5sum assets id file

pull/273/head
Frostebite 2021-07-27 23:40:48 +01:00
parent 6722a51b61
commit ea67543fa5
2 changed files with 8 additions and 11 deletions

View File

@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
apk add git-lfs
repoPathFull=$1 repoPathFull=$1
cloneUrl=$2 cloneUrl=$2
githubSha=$3 githubSha=$3

View File

@ -6,25 +6,24 @@ libDir=$3
purgeRemoteBuilderCache=$4 purgeRemoteBuilderCache=$4
# handle library cache # handle library cache
if [ ! -d $cacheFolderFull ]; then if [ ! -d "$cacheFolderFull" ]; then
mkdir $cacheFolderFull mkdir $cacheFolderFull
echo "creating new cache folder $cacheFolderFull" echo "creating new cache folder $cacheFolderFull"
else
echo "cache folder already exists $cacheFolderFull"
fi
if [ ! -d "$cacheFolderFull/$branchName" ]; then if [ ! -d "$cacheFolderFull/$branchName" ]; then
mkdir $cacheFolderFull/$branchName mkdir $cacheFolderFull/$branchName
echo "creating new cache branch folder for: $cacheFolderFull/$branchName" echo "creating new cache branch folder for: $cacheFolderFull/$branchName"
else else
echo "cache branch folder already exists for: $cacheFolderFull/$branchName" echo "cache branch folder already exists for: $cacheFolderFull/$branchName"
fi fi
else
echo "cache folder already exists $cacheFolderFull"
fi
echo "Library cache for branch: $branchName" echo "Library cache for branch: $branchName"
ls $cacheFolderFull/$branchName ls $cacheFolderFull/$branchName
echo '' echo ''
if [ -d $libraryFolderFull ]; then if [ -d "$libraryFolderFull" ]; then
rm -r $libraryFolderFull rm -r $libraryFolderFull
echo "Git must ignore the Library folder" echo "Git must ignore the Library folder"
fi fi