From c29d1690c122b18d979d57ae73e2571ca09d77c0 Mon Sep 17 00:00:00 2001 From: Lusheng Date: Thu, 9 Mar 2017 05:10:19 +0000 Subject: added version.properties, docker name update Change-Id: I5442c2cb0652120d1f0cb851e2add675992ef15e Signed-off-by: Lusheng --- docker-build.sh | 4 ++-- version.properties | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 version.properties diff --git a/docker-build.sh b/docker-build.sh index d74b4dc..43c6b44 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -108,7 +108,7 @@ EOF # # build the docker image. tag and then push to the remote repo # -IMAGE='openecomp/dcae-controller-common-event' +IMAGE='openecomp/dcae-collector-common-event' #TAG='1.0.0' VERSION=$(xpath -e "//project/version/text()" "pom.xml") EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev) @@ -147,7 +147,7 @@ if [ ! -z "$REPO" ]; then docker push "${RFQI}" - TAG="LATEST" + TAG="latest" LFQI="${IMAGE}:${TAG}" RFQI2="${REPO}/${LFQI}" echo "$LFQI" diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..8bc13ef --- /dev/null +++ b/version.properties @@ -0,0 +1,6 @@ +major=1 +minor=0 +patch=0 +base_version="${major}.${minor}.${patch}" +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg