Skip to content

Commit

Permalink
Unbreak Windows detection
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jan 29, 2024
1 parent 8a14a37 commit 0c4e8b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
if [ "$arch" == "amd64" ]; then
arch="x64"
fi
if [ "${{ matrix.arch }}" == "windows" ]; then
if [ "$platform" == "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;
for file in * ; do mv -v $file ../dist/${file}-${platform}-${arch}; done;
fi
cd ../../
rm -rv $PWD/bin/dist/compile_assets*
Expand Down

0 comments on commit 0c4e8b3

Please sign in to comment.