From 4a72d09a9f498c7a7d4eef9cd7448d294930b9d8 Mon Sep 17 00:00:00 2001 From: Javier Guzman <906599+javierguzman@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:50:05 +0200 Subject: [PATCH] ci: replace spaces in filename with - --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f497b85a..95274eee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,8 +138,11 @@ jobs: - if: runner.os == 'Windows' shell: bash name: Get executable into signing folder + # we replace empty spaces in the filename with - run: | - find out/make/ -name '*.exe' -print -quit -exec cp -v {} windows_signing/ \; + find out/make/ '*.exe' -exec rename 's/ /-/g' {} + + find out/make/ '*.exe' -exec cp -v {} windows_signing \; + ls *.exe EXE_FILE=$(ls *.exe 2>/dev/null | head -n 1) echo "Found .exe file: $EXE_FILE" - if: runner.os == 'Windows'