From 0b211675fb8e1d29a70481a9b284607fa11ae27f Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Wed, 26 Jun 2024 15:27:43 -0700 Subject: [PATCH] fix: write artifact basename to configuration in update dependencies Signed-off-by: Austin Vazquez --- bin/update-deps.sh | 4 ++-- bin/update-rootfs.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/update-deps.sh b/bin/update-deps.sh index 7b346a3..3ce76e8 100755 --- a/bin/update-deps.sh +++ b/bin/update-deps.sh @@ -50,10 +50,10 @@ truncate -s 0 "${BUNDLES_FILE}" echo "ARTIFACT_BASE_URL=${DEPENDENCY_CLOUDFRONT_URL}" echo "" echo "AARCH64_ARTIFACT_PATHING=${AARCH64}" - echo "AARCH64_ARTIFACT=${aarch64_deps}" + echo "AARCH64_ARTIFACT=$(basename "${aarch64_deps}")" echo "AARCH64_512_DIGEST=${aarch64_deps_shasum}" echo "" echo "X86_64_ARTIFACT_PATHING=${X86_64}" - echo "X86_64_ARTIFACT=${amd64_deps}" + echo "X86_64_ARTIFACT=$(basename "${amd64_deps}")" echo "X86_64_512_DIGEST=${amd64_deps_shasum}" } >> "${BUNDLES_FILE}" diff --git a/bin/update-rootfs.sh b/bin/update-rootfs.sh index 389441f..959fa65 100755 --- a/bin/update-rootfs.sh +++ b/bin/update-rootfs.sh @@ -45,6 +45,6 @@ truncate -s 0 "${ROOTFS_FILE}" echo "ARTIFACT_BASE_URL=${DEPENDENCY_CLOUDFRONT_URL}" echo "" echo "X86_64_ARTIFACT_PATHING=${PLATFORM}/${X86_64}" - echo "X86_64_ARTIFACT=${amd64_deps}" + echo "X86_64_ARTIFACT=$(basename "${amd64_deps}")" echo "X86_64_512_DIGEST=${amd64_deps_shasum}" } >> "${ROOTFS_FILE}"