Skip to content

Commit

Permalink
🐎 ci(make-zip): 优化make-zip的范围
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Nov 13, 2023
1 parent 72ad4e2 commit 4297a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/make-zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# 搜寻 png md css json 文件
find . -type f \( -name "*.png" -o -name "*.md" -o -name "*.json" \) -print > file-list.txt
find . -type f \( -name "icon.png" -o -name "preview.png" -o -name "LICENSE" -o -name "*.md" -o -name "*.json" \) -print > file-list.txt

# 打包所有文件为 package.zip
zip package.zip -@ < file-list.txt

0 comments on commit 4297a19

Please sign in to comment.