Use chart version for tag name
This commit is contained in:
parent
694a919144
commit
662f32ab62
@ -71,8 +71,8 @@ dockerizedBuildPipeline(
|
|||||||
},
|
},
|
||||||
postDeploy: {
|
postDeploy: {
|
||||||
// Create tags
|
// Create tags
|
||||||
String tagName = "${version}"
|
String tagName = "${chartVersion}"
|
||||||
runSafely "git tag -a ${tagName} -m 'Release Update: ${version}'"
|
runSafely "git tag -a ${tagName} -m 'Release Update: ${chartVersion}'"
|
||||||
sshagent(credentials: [sonatypeZionCredentialsId()]) {
|
sshagent(credentials: [sonatypeZionCredentialsId()]) {
|
||||||
runSafely "git push origin ${tagName}"
|
runSafely "git push origin ${tagName}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user