Skip to content

Commit

Permalink
Fix renaming script
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jan 29, 2024
1 parent b4d135a commit 8a14a37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ jobs:
if [ "$arch" == "amd64" ]; then
arch="x64"
fi
for file in * ; do mv -v $file ../dist/${file}-${platform}-${arch}; done;
if [ "${{ matrix.arch }}" == "windows" ]; then
for file in * ; do mv -v $file ../dist/${file%.*}-win-${arch}.exe; done;
else
for file in * ; do mv -v $file ../dist/${file}-${os}-${arch}; done;
fi
cd ../../
rm -rv $PWD/bin/dist/compile_assets*
Expand Down

0 comments on commit 8a14a37

Please sign in to comment.