Skip to content

Commit

Permalink
chore: detect windows binary
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriknielaender authored Jul 27, 2024
1 parent 74387d9 commit 1f3eaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
mkdir -p artifacts
for binary in zig-out/*; do
filename=$(basename "$binary")
if [[ "$filename" == *windows* ]]; then
if [[ "$filename" == *"windows"* ]]; then
zip -j artifacts/"${filename}.zip" "$binary"
else
tar -czvf artifacts/"${filename}.tar.gz" -C zig-out "$filename"
Expand Down

0 comments on commit 1f3eaa1

Please sign in to comment.