From 75b11eb80a8ef3f7dff9fc7494ccfad7179364e2 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 10 Nov 2022 15:34:00 +0100 Subject: [PATCH] Use VERSION in kitmaker archive name Signed-off-by: Evan Lezar --- scripts/release-kitmaker-artifactory.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release-kitmaker-artifactory.sh b/scripts/release-kitmaker-artifactory.sh index a635b9f5..4d433f28 100755 --- a/scripts/release-kitmaker-artifactory.sh +++ b/scripts/release-kitmaker-artifactory.sh @@ -209,7 +209,8 @@ function kitmakerize-distro() { rmdir "${scratch_dir}" } -kitmaker_name="${COMPONENT_NAME//-/_}-${DIST}-${ARCH}-${NVIDIA_CONTAINER_TOOLKIT_PACKAGE_VERSION}" +: "${VERSION=$(git describe --tags --dirty)}" +kitmaker_name="${COMPONENT_NAME//-/_}-${DIST}-${ARCH}-${VERSION}" kitmaker_archive="${KITMAKER_DIR}/${kitmaker_name}.tar.gz" kitmakerize-distro "${DIST}" "${ARCH}" "${kitmaker_archive}" push-kitmaker-artifactory "${DIST}" "${ARCH}" "${kitmaker_archive}"