Skip to content

Commit

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

0 comments on commit 5d853f7

Please sign in to comment.