diff options
-rwxr-xr-x | docker-build.sh | 2 | ||||
-rw-r--r-- | pom.xml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docker-build.sh b/docker-build.sh index 43c6b44..fb4cac5 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -111,10 +111,12 @@ EOF IMAGE='openecomp/dcae-collector-common-event' #TAG='1.0.0' VERSION=$(xpath -e "//project/version/text()" "pom.xml") +VERSION=$(echo $VERSION |sed 's/\"//') EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev) if [ -z "$EXT" ]; then VERSION=$(echo "${VERSION}-STAGING") fi + TIMESTAMP=$(date +%C%y%m%dT%H%M%S) TAG="$VERSION-$TIMESTAMP" LFQI="${IMAGE}:${TAG}" @@ -626,7 +626,8 @@ <artifactItem> <groupId>org.openecomp.dcae.controller</groupId> <artifactId>dcae-controller-service-standardeventcollector-manager</artifactId> - <version>0.1.0-SNAPSHOT</version> + <!--version>0.1.0-SNAPSHOT</version--> + <version>${project.version}</version> <type>zip</type> <classifier>runtime</classifier> <overWrite>true</overWrite> |