ci: make zip work

This commit is contained in:
鲁树人 2025-05-09 11:21:22 +09:00
parent 369112af01
commit 0a94383ba3

View File

@ -19,8 +19,7 @@ pack() {
mv "$1" "${exe_name}" mv "$1" "${exe_name}"
if [[ "$is_windows" == 1 ]]; then if [[ "$is_windows" == 1 ]]; then
echo zip -Xqj9 "dist/${archive_name}.zip" "${exe_name}" README.md LICENSE zip -Xqj9 "dist/${archive_name}.zip" "${exe_name}" README.md LICENSE
exit 1
else else
tar \ tar \
--sort=name --format=posix \ --sort=name --format=posix \