feat: 优化打包脚本,打包后生成压缩文件,方便部署服务

This commit is contained in:
539943419 committed 2025-01-12 23:58:38 +08:00
1 parent c2be826bc5
commit 40379326b5
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# 检查.output目录是否存在
if [ -d ".output" ]; then
tar -czvf ./output.tar.gz .output
mv output.tar.gz .output/output.tar.gz
fi