From 234fcf085bb7d52994f0ebdf52d4b28a6c7059f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Silva?= Date: Thu, 9 Dec 2021 03:04:39 +0000 Subject: [PATCH] fix: cache directory path always in PATH env MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Silva --- cr.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cr.sh b/cr.sh index 2ad0d75..232cd23 100755 --- a/cr.sh +++ b/cr.sh @@ -193,10 +193,10 @@ install_chart_releaser() { curl -sSLo cr.tar.gz "https://github.com/helm/chart-releaser/releases/download/$version/chart-releaser_${version#v}_linux_amd64.tar.gz" tar -xzf cr.tar.gz -C "$cache_dir" rm -f cr.tar.gz - - echo 'Adding cr directory to PATH...' - export PATH="$cache_dir:$PATH" fi + + echo 'Adding cr directory to PATH...' + export PATH="$cache_dir:$PATH" } lookup_latest_tag() {