From f0cd139e90dcf9328455292a24ad55320f91ad5a Mon Sep 17 00:00:00 2001 From: Jaspreet Sachdev Date: Wed, 31 Jan 2024 15:37:35 -0500 Subject: [PATCH] Changed the grep arg to look for release Signed-off-by: Jaspreet Sachdev --- chart/environment-values/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/environment-values/deploy.sh b/chart/environment-values/deploy.sh index 12f9e71..fb97c30 100755 --- a/chart/environment-values/deploy.sh +++ b/chart/environment-values/deploy.sh @@ -52,7 +52,7 @@ EXTRA_VALUES_SPLITTED=() # Helper functions check_if_chart_version_is_release() { - PARSED_CHART_VERSION=$(echo $CHART_VERSION | grep -xE "v\d+\.\d+\.\d+.*") + PARSED_CHART_VERSION=$(echo "$CHART_VERSION" | grep -xP "v\d+\.\d+\.\d+.*") if [[ -z "$PARSED_CHART_VERSION" ]]; then return 1 else