Correct package name

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2021-10-06 17:55:15 +00:00
committed by Compute-Runtime-Automation
parent 47a46f5afb
commit 418354574a
3 changed files with 14 additions and 4 deletions

View File

@@ -9,8 +9,8 @@
set -ex
get_api_version() {
API_VERSION="${API_VERSION:-0}"
API_VERSION_SRC="${API_VERSION_SRC:-master}"
API_VERSION="${API_VERSION:-}"
API_VERSION_SRC="${API_VERSION_SRC:-}"
API_DEB_MODEL_LINK=""
API_RPM_MODEL_LINK=""
if [ "${COMPONENT_MODEL}" != "ci" ]; then

View File

@@ -32,7 +32,12 @@ source "${REPO_DIR}/scripts/packaging/${BRANCH_SUFFIX}/l0_gpu_driver/l0_gpu_driv
get_api_version # API_VERSION-API_VERSION_SRC and API_DEB_MODEL_LINK
get_l0_gpu_driver_version # NEO_L0_VERSION_MAJOR.NEO_L0_VERSION_MINOR.NEO_L0_VERSION_PATCH
VERSION="${NEO_L0_VERSION_MAJOR}.${NEO_L0_VERSION_MINOR}.${NEO_L0_VERSION_PATCH}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
if [ -z "${BRANCH_SUFFIX}" ]; then
VERSION="${NEO_L0_VERSION_MAJOR}.${NEO_L0_VERSION_MINOR}.${NEO_L0_VERSION_PATCH}${API_DEB_MODEL_LINK}"
else
VERSION="${NEO_L0_VERSION_MAJOR}.${NEO_L0_VERSION_MINOR}.${NEO_L0_VERSION_PATCH}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
fi
PKG_VERSION=${VERSION}
if [ "${CMAKE_BUILD_TYPE}" != "Release" ]; then

View File

@@ -37,7 +37,12 @@ export NEO_OCL_VERSION_MAJOR
export NEO_OCL_VERSION_MINOR
export NEO_OCL_VERSION_BUILD
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
if [ -z "${BRANCH_SUFFIX}" ]; then
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}${API_DEB_MODEL_LINK}"
else
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
fi
PKG_VERSION=${VERSION}
if [ "${CMAKE_BUILD_TYPE}" != "Release" ]; then