From 0d1a482f852dff3c55f6ae5c622efc673cac0a46 Mon Sep 17 00:00:00 2001 From: Davlet Panech Date: Wed, 26 Oct 2022 13:46:48 -0400 Subject: [PATCH] publish-wheels: create missing destination dir Signed-off-by: Davlet Panech Change-Id: I0c0cbea0414bcf6732f60e2dec70a39e5524109f --- scripts/publish-wheels.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish-wheels.sh b/scripts/publish-wheels.sh index e5149d8..5ea2a12 100755 --- a/scripts/publish-wheels.sh +++ b/scripts/publish-wheels.sh @@ -36,6 +36,7 @@ if [[ "${#existing_wheels_files[@]}" -gt 0 ]] ; then notice "publish wheels files to dst_dir" for wheels_file in "${existing_wheels_files[@]}" ; do [[ -f "$wheels_file" ]] || continue - \cp --force --no-dereference --preserve=mode,timestamps,links -t "$dst_dir" "$wheels_file" + mkdir -p "$dst_dir" + \cp --force --no-dereference --preserve=mode,timestamps,links -v -t "$dst_dir" "$wheels_file" done fi