From 2b0b265c2d18cd37e8b1aa4192f941ff43075065 Mon Sep 17 00:00:00 2001 From: mircea-cosbuc Date: Thu, 21 Dec 2023 11:41:30 +0100 Subject: [PATCH] Fix searching for unreleased chart in repo (#298) --- .github/actions/releaser/cr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/releaser/cr.sh b/.github/actions/releaser/cr.sh index 2debbbe2..97ae47e3 100755 --- a/.github/actions/releaser/cr.sh +++ b/.github/actions/releaser/cr.sh @@ -92,7 +92,7 @@ chart_released() { local chart_name=$1 local version=$2 - helm search repo "mongodb/${chart_name}" --version "${version}" |grep "${chart_name}\s" + helm search repo "mongodb/${chart_name}" --version "${version}" | grep "${chart_name}\s" || echo "Not found" } # check if release version and chart version is diffrent