on core version so each time there is a version
update there won't be need to update this everywhere
Issue-ID: AAI-550
Change-Id: I86db1e5e8dd5fc2b0357600219cd5ac3aab5ba6c
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar);
+# Get the basename of the aai-core-X.Y.Z-SNAPSHOT.jar
+# Then extract the X.Y.Z-SNAPSHOT part
+AAI_CORE_VERSION=$(basename ${AAI_CORE_JAR} | grep -o '[0-9]*\.[0-9]*\.[0-9]*[^.]*');
+
+
cd ${APP_HOME};
# If the variable DISABLE_UPDATE_QUERY is empty