mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
Refactor file compression logic in release workflow
This commit is contained in:
parent
2df57e6249
commit
7940e010e0
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user