Skip to content

Commit 2b0b265

Browse files
Fix searching for unreleased chart in repo (#298)
1 parent 7504afd commit 2b0b265

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/releaser

1 file changed

+1
-1
lines changed

.github/actions/releaser/cr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ chart_released() {
9292
local chart_name=$1
9393
local version=$2
9494

95-
helm search repo "mongodb/${chart_name}" --version "${version}" |grep "${chart_name}\s"
95+
helm search repo "mongodb/${chart_name}" --version "${version}" | grep "${chart_name}\s" || echo "Not found"
9696
}
9797

9898
# check if release version and chart version is diffrent

0 commit comments

Comments
 (0)