From 0a234704f747edd22c1490fa7de82fe5b1b4c1fe Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Mon, 28 Nov 2022 15:10:28 +0100
Subject: [PATCH] replace underscore with dash in helm chart name

---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f955aa9db6..548697f3a2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -362,7 +362,7 @@ String generateHelmChartVersion() {
         chartVersion += "-${env.BRANCH_NAME}"
     }
 
-    return chartVersion
+    return chartVersion.replaceAll("_", "-")
 }
 
 Void tagAndPushDockerImage(String newTag){
-- 
GitLab