From 8de37f9d3035b4a41e696b967f2222806c250925 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Fri, 11 Sep 2020 13:58:42 -0400 Subject: Refactoring poms groupId artifactId Issue-ID: CCSDK-2787 Signed-off-by: Singal, Kapil (ks220y) Change-Id: Ica64f0c793beabb47950c7bf1eede63a0dbf3cea --- TagVersion.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TagVersion.groovy') 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"; -- cgit 1.2.3-korg