From 832fcba5cd6970e024a03b4dbe81e470aaba643f Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 11 Jul 2024 10:34:28 +0200 Subject: [PATCH] [no-relnote] fix archive script Signed-off-by: Evan Lezar --- scripts/archive-packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/archive-packages.sh b/scripts/archive-packages.sh index 01e19035..688513d8 100755 --- a/scripts/archive-packages.sh +++ b/scripts/archive-packages.sh @@ -61,7 +61,7 @@ PACKAGE_CACHE=release-${VERSION}-${REPO} REMOVE_PACKAGE_CACHE=no if [ ! -d ${PACKAGE_CACHE} ]; then echo "Fetching packages with SHA '${SHA}' as tag '${VERSION}' to ${PACKAGE_CACHE}" -${SCRIPTS_DIR}/pull-packages.sh \ +${SCRIPTS_DIR}/../hack/pull-packages.sh \ ${PACKAGE_IMAGE_NAME}:${PACKAGE_IMAGE_TAG} \ ${PACKAGE_CACHE} REMOVE_PACKAGE_CACHE=yes @@ -113,7 +113,7 @@ function upload_archive() { for var in "CI_PROJECT_ID" "CI_PIPELINE_ID" "CI_JOB_ID" "CI_JOB_URL" "CI_PROJECT_PATH"; do if [ -n "${!var}" ]; then - optionally_add_property "${var}" "${!var}" + props+=("${property}=${value}") fi done local PROPS=$(join_by ";" "${props[@]}")