Skip to content

Commit b69f8f2

Browse files
committed
修复压缩脚本,发布新版本
1 parent e4e545f commit b69f8f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/zip.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
cd "${1}" || exit
2+
ls
23
mkdir "./zipped"
34
for file in ./*;
45
do
56
if [ "$file" != "zipped" ]; then
6-
zip -r "./zipped/$file.zip" "$file/*"
7+
zip -r "./zipped/$file.zip" "$file"
78
fi
89
done

0 commit comments

Comments
 (0)