Skip to content

Commit

Permalink
Refactor file compression logic in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Sep 30, 2024
1 parent 2df57e6 commit 7940e01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ jobs:
for file in assets/*/*/*; do
if [ -f "$file" ]; then
chmod +x "$file"
zip -jr "$file.zip" "$file"
export fileWithoutExt=${file%.*}
zip -jr "$fileWithoutExt.zip" "$file"
fi
done
Expand Down

0 comments on commit 7940e01

Please sign in to comment.