cleanup and corrections
parent
20e0c9a7a8
commit
6d0399f311
|
|
@ -56,24 +56,24 @@ if [ ! -z "$latestLFSCacheFile" ]; then
|
||||||
unzip -q "$cacheFolderWithBranch/lfs/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
|
unzip -q "$cacheFolderWithBranch/lfs/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " "
|
echo ' '
|
||||||
du -sch "$cacheFolderWithBranch/lfs"
|
du -sch "$gitLFSDestinationFolder"
|
||||||
du -sch "$cacheFolderWithBranch/lib"
|
du -sch "$latestLibraryCacheFile"
|
||||||
echo " "
|
echo ' '
|
||||||
du -sch "$cacheFolderWithBranch"
|
du -sch "$cacheFolderWithBranch"
|
||||||
echo " "
|
echo ' '
|
||||||
du -sch "$cacheFolderFull"
|
du -sch "$cacheFolderFull"
|
||||||
echo " "
|
echo ' '
|
||||||
|
|
||||||
echo "purge $purgeRemoteBuilderCache"
|
echo "purge $purgeRemoteBuilderCache"
|
||||||
# purge cache
|
# purge cache
|
||||||
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
||||||
rm -r "$cacheFolderFull"
|
rm -r "$cacheFolderFull"
|
||||||
fi
|
fi
|
||||||
echo " "
|
echo ' '
|
||||||
|
|
||||||
git lfs pull
|
git lfs pull
|
||||||
zip -r $LFS_ASSETS_HASH "${lfsDirectory}"
|
zip -r $LFS_ASSETS_HASH "$gitLFSDestinationFolder"
|
||||||
cp $LFS_ASSETS_HASH "${cacheFolderFull}/${branchName}/lfs"
|
cp $LFS_ASSETS_HASH "$lfsCacheFolder"
|
||||||
|
|
||||||
echo " "
|
echo ' '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue