From e36314e80e626444d62be947ca56f886294daf02 Mon Sep 17 00:00:00 2001 From: bogyo210 Date: Thu, 17 Jun 2021 09:37:59 +0300 Subject: [PATCH] bundle clean on autostore --- cache | 1 + 1 file changed, 1 insertion(+) diff --git a/cache b/cache index 07f3dfdf..b6760cea 100755 --- a/cache +++ b/cache @@ -83,6 +83,7 @@ cache::autostore() { SEMAPHORE_LOCAL_CACHE_PATHS="vendor/bundle" cache::log "* Using default cache path '$SEMAPHORE_LOCAL_CACHE_PATHS'." if [[ -d $SEMAPHORE_LOCAL_CACHE_PATHS ]]; then + bundle clean --path "$SEMAPHORE_LOCAL_CACHE_PATHS" SEMAPHORE_CACHE_KEY=$(cache::normalize_string gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock)) cache::lftp_put else