md5sum assets id file
parent
6722a51b61
commit
ea67543fa5
|
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apk add git-lfs
|
|
||||||
|
|
||||||
repoPathFull=$1
|
repoPathFull=$1
|
||||||
cloneUrl=$2
|
cloneUrl=$2
|
||||||
githubSha=$3
|
githubSha=$3
|
||||||
|
|
|
||||||
|
|
@ -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
|
if [ ! -d "$cacheFolderFull/$branchName" ]; then
|
||||||
echo "cache folder already exists $cacheFolderFull"
|
|
||||||
fi
|
|
||||||
|
|
||||||
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
|
||||||
|
else
|
||||||
|
echo "cache folder already exists $cacheFolderFull"
|
||||||
fi
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue