diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2020-09-11 13:58:42 -0400 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2020-09-11 19:13:55 -0400 |
commit | 8de37f9d3035b4a41e696b967f2222806c250925 (patch) | |
tree | bbead8f9844c301d86966fdddd82b677abe13f75 /TagVersion.groovy | |
parent | 8c23129be8bef8f2113be25eca424f87eb05c889 (diff) |
Refactoring poms groupId artifactId
Issue-ID: CCSDK-2787
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ica64f0c793beabb47950c7bf1eede63a0dbf3cea
Diffstat (limited to 'TagVersion.groovy')
-rw-r--r-- | TagVersion.groovy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TagVersion.groovy b/TagVersion.groovy index d0ff9bf29..8bcd606c5 100644 --- a/TagVersion.groovy +++ b/TagVersion.groovy @@ -25,11 +25,11 @@ package org.onap.ccsdk.cds def versionArray; -if ( project.properties['ccsdk.project.version'] != null ) { - versionArray = project.properties['ccsdk.project.version'].split('\\.'); +if ( project.properties['ccsdk.cds.version'] != null ) { + versionArray = project.properties['ccsdk.cds.version'].split('\\.'); } -if ( project.properties['ccsdk.project.version'].endsWith("-SNAPSHOT") ) { +if ( project.properties['ccsdk.cds.version'].endsWith("-SNAPSHOT") ) { patchArray = versionArray[2].split('-'); project.properties['project.docker.latestminortag.version']=versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest"; project.properties['project.docker.latestfulltag.version']=versionArray[0] + '.' + versionArray[1] + '.' + patchArray[0] + "-SNAPSHOT-latest"; |