From e8ce38d7782851c7225825323ff30a04fc6f663b Mon Sep 17 00:00:00 2001 From: Victor Hugo dos Santos Date: Mon, 15 Jun 2026 19:48:48 -0300 Subject: [PATCH] fix(backfill): ensure target directory exists before copying APK files in publish_apk_file function --- scripts/backfill_from_cloudsmith.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/backfill_from_cloudsmith.sh b/scripts/backfill_from_cloudsmith.sh index 1babb074..74b271fb 100755 --- a/scripts/backfill_from_cloudsmith.sh +++ b/scripts/backfill_from_cloudsmith.sh @@ -563,6 +563,7 @@ publish_apk_file() { log "apk stage: $filename ($arch) -> ${archdir}/${alpine_filename}" if [ "$APPLY" -eq 1 ]; then + mkdir -p "$(dirname "$target")" cp "$file" "$target" else log "DRY-RUN would copy $filename to staging ${archdir}/${alpine_filename}"