Skip to content

Commit

Permalink
修复压缩脚本,发布新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperIceCN committed Nov 21, 2021
1 parent e4e545f commit b69f8f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/zip.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
cd "${1}" || exit
ls
mkdir "./zipped"
for file in ./*;
do
if [ "$file" != "zipped" ]; then
zip -r "./zipped/$file.zip" "$file/*"
zip -r "./zipped/$file.zip" "$file"
fi
done

0 comments on commit b69f8f2

Please sign in to comment.