debug logging
parent
bda71660ae
commit
6e932f36c4
|
|
@ -44,15 +44,15 @@ if [ ! -z "$latestLibraryCacheFile" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -v "$LFS_ASSETS_HASH" ]; then
|
if [ ! -v "$LFS_ASSETS_HASH" ]; then
|
||||||
echo "no LFS hash environment variable set this is meant to happen automatically (required for LFS caching)"
|
echo "no LFS hash environment variable set, this is meant to happen automatically (required for LFS caching)"
|
||||||
LFS_ASSETS_HASH="noHashFound"
|
LFS_ASSETS_HASH="noHashFound"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Checking cache for a cache match based on the combined large files hash ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)"
|
echo "Checking cache for a cache match based on the combined large files hash ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)"
|
||||||
|
|
||||||
if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH.zip" ]; then
|
if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH" ]; then
|
||||||
echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip"
|
echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip"
|
||||||
latestLFSCacheFile="$LFS_ASSETS_HASH.zip"
|
latestLFSCacheFile="$LFS_ASSETS_HASH"
|
||||||
else
|
else
|
||||||
latestLFSCacheFile=$(ls -t "$lfsCacheFolder" | grep .zip$ | head -1)
|
latestLFSCacheFile=$(ls -t "$lfsCacheFolder" | grep .zip$ | head -1)
|
||||||
echo "Match not found: using latest large file cache $latestLFSCacheFile"
|
echo "Match not found: using latest large file cache $latestLFSCacheFile"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue