From 2e803df9d4f2d9fe84be3a7df239897a2cfc8328 Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Fri, 3 Sep 2021 11:15:17 +0200 Subject: [PATCH] Clean artifacts for coverage pools installation We want to have a clean install so let's remove artifacts directories. --- install-coverage-pools.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install-coverage-pools.sh b/install-coverage-pools.sh index c060f11..710105f 100755 --- a/install-coverage-pools.sh +++ b/install-coverage-pools.sh @@ -2,8 +2,8 @@ set -e -LOG_START='\n\e[1;36m' # new line + bold + color -LOG_END='\n\e[0m' # new line + reset color +LOG_START='\n\e[1;36m' # new line + bold + color +LOG_END='\n\e[0m' # new line + reset color DONE_START='\n\e[1;32m' # new line + bold + green DONE_END='\n\n\e[0m' # new line + reset @@ -24,6 +24,10 @@ cd "$WORKDIR/coverage-pools" # Remove node modules for clean installation rm -rf ./node_modules +# Remove deployment artifacts for clean deployment +rm -rf ./artifacts +rm -rf ./deployments + printf "${LOG_START}Running install script...${LOG_END}" # Run coverage-pools install script.