Better startup log messages

pull/273/head
Frostebite 2021-07-12 23:36:40 +01:00
parent bc7faa9df5
commit bdefd680f1
2 changed files with 6 additions and 3 deletions

View File

@ -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 ' '

View File

@ -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