From 662f32ab62005c845faba2b9edcb1bc1799eaa18 Mon Sep 17 00:00:00 2001 From: Olu Shiyanbade Date: Thu, 25 Aug 2022 19:52:34 +0100 Subject: [PATCH] Use chart version for tag name --- Jenkinsfile-Release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-Release b/Jenkinsfile-Release index 7487907..c8e40ba 100644 --- a/Jenkinsfile-Release +++ b/Jenkinsfile-Release @@ -71,8 +71,8 @@ dockerizedBuildPipeline( }, postDeploy: { // Create tags - String tagName = "${version}" - runSafely "git tag -a ${tagName} -m 'Release Update: ${version}'" + String tagName = "${chartVersion}" + runSafely "git tag -a ${tagName} -m 'Release Update: ${chartVersion}'" sshagent(credentials: [sonatypeZionCredentialsId()]) { runSafely "git push origin ${tagName}" }