From 5d853f78ebbf7746ec41dffb7c2cabe5824725aa Mon Sep 17 00:00:00 2001 From: Javier Guzman <906599+javierguzman@users.noreply.github.com> Date: Thu, 20 Jul 2023 14:40:52 +0200 Subject: [PATCH] ci: properly replace empty spaces with - --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95274eee5..1cd81487f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,8 +140,8 @@ jobs: name: Get executable into signing folder # we replace empty spaces in the filename with - run: | - find out/make/ '*.exe' -exec rename 's/ /-/g' {} + - find out/make/ '*.exe' -exec cp -v {} windows_signing \; + find out/make -type f -name '*.exe' -exec bash -c 'mv "$1" "${1// /-}"' _ {} \; + find out/make/ -type f -name '*.exe' -exec cp -v {} windows_signing \; ls *.exe EXE_FILE=$(ls *.exe 2>/dev/null | head -n 1) echo "Found .exe file: $EXE_FILE"