Skip to content

Commit

Permalink
ci: replace spaces in filename with -
Browse files Browse the repository at this point in the history
  • Loading branch information
javierguzman committed Jul 20, 2023
1 parent 007bde0 commit 4a72d09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4a72d09

Please sign in to comment.