From ce9477966d10614b2da974c64a19ff3cf0cea620 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 10 Mar 2023 15:51:36 +0200 Subject: [PATCH] Use component name as folder name Signed-off-by: Evan Lezar --- scripts/release-kitmaker-artifactory.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/release-kitmaker-artifactory.sh b/scripts/release-kitmaker-artifactory.sh index 69f3d0e8..d7bee6dc 100755 --- a/scripts/release-kitmaker-artifactory.sh +++ b/scripts/release-kitmaker-artifactory.sh @@ -93,7 +93,7 @@ function add_distro() { local name="${component}-${os}-${arch}" - local scratch_dir="${KITMAKER_SCRATCH}/${name}" + local scratch_dir="${KITMAKER_SCRATCH}/${name}/${component}" local packages_dir="${scratch_dir}/.packages" mkdir -p "${packages_dir}" @@ -113,10 +113,10 @@ function create_archive() { local name="${component}-${os}-${arch}" local archive="${KITMAKER_DIR}/${name}-${version}.tar.gz" - local scratch_dir="${KITMAKER_SCRATCH}/${name}" + local scratch_dir="${KITMAKER_SCRATCH}/${name}/${component}" local packages_dir="${scratch_dir}/.packages/" - tar zcvf "${archive}" -C "${scratch_dir}/.." "${name}" + tar zcvf "${archive}" -C "${scratch_dir}/.." "${component}" echo "Created: ${archive}" ls -l "${archive}" echo "With contents:"