-q zip and unzip
parent
4f4ce3236f
commit
8b74c299b5
|
|
@ -28,7 +28,7 @@ latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
|||
if [ ! -z "$latestLibraryCacheFile" ]; then
|
||||
echo "Library cache exists from build $latestLibraryCacheFile from $branch"
|
||||
mkdir -p "$libraryFolderFull"
|
||||
unzip "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
||||
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
||||
fi
|
||||
|
||||
echo "Checking cache for a cache match based on the combined large files hash ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)"
|
||||
|
|
@ -46,7 +46,7 @@ if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
|
|||
echo "LFS cache exists from build $latestLFSCacheFile from $branch"
|
||||
rm -r "$gitLFSDestinationFolder"
|
||||
mkdir -p "$gitLFSDestinationFolder"
|
||||
unzip "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
|
||||
unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
|
||||
echo "git LFS folder, (should not contain $latestLFSCacheFile)"
|
||||
ls -lh "$gitLFSDestinationFolder"
|
||||
fi
|
||||
|
|
@ -74,7 +74,7 @@ du -sch "$cacheFolderFull"
|
|||
echo ' '
|
||||
git lfs pull
|
||||
echo 'pulled latest LFS files'
|
||||
zip -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder"
|
||||
zip -q -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder"
|
||||
cp "$LFS_ASSETS_HASH.zip" "$lfsCacheFolder"
|
||||
echo "copied $LFS_ASSETS_HASH to $lfsCacheFolder"
|
||||
echo ' '
|
||||
|
|
|
|||
Loading…
Reference in New Issue