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"