Better startup log messages
parent
bc7faa9df5
commit
bdefd680f1
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
|
||||
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/lfsSum.txt
|
||||
echo ''
|
||||
echo ' '
|
||||
ls $1
|
||||
echo 'combined file:'
|
||||
cat $1/lfsSum.txt
|
||||
echo ''
|
||||
echo ' '
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ purgeRemoteBuilderCache=$3
|
|||
|
||||
echo "Checking cache"
|
||||
|
||||
# Restore cache
|
||||
# Restore library cache
|
||||
latest=$(ls -t | head -1)
|
||||
if [ ! -z "$latest" ]; then
|
||||
echo "Library cache exists from build $latest from $branchName"
|
||||
|
|
@ -17,6 +17,8 @@ else
|
|||
echo 'Cache does not exist'
|
||||
fi
|
||||
|
||||
# Restore LFS cache
|
||||
|
||||
# purge cache
|
||||
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
||||
rm -r $libDir
|
||||
|
|
|
|||
Loading…
Reference in New Issue