diff --git a/scripts/prune-go-cache.sh b/scripts/prune-go-cache.sh index 797855072..ddef54b49 100755 --- a/scripts/prune-go-cache.sh +++ b/scripts/prune-go-cache.sh @@ -10,7 +10,7 @@ GOCACHE=$(go env GOCACHE) SIZE=`du -sxm ${GOCACHE} | awk '{print $1}'` echo "GOCACHE size: ${SIZE}MB" -if [ "${DRY_RUN}" == "" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ $SIZE -gt 3500 ]; then +if [ "${DRY_RUN}" == "" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ $SIZE -gt 4000 ]; then echo "Pruning GOCACHE at ${GOCACHE}" find "${GOCACHE}" -type f -delete fi