feat: 优化打包脚本,打包后生成压缩文件,方便部署服务
This commit is contained in:
1 parent
c2be826bc5
commit
40379326b5
2 files changed
+8
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user