Skip to content

Commit 55c23f4

Browse files
author
142vip.cn
committed
fix(release): 修复版本发布时zip压缩包过大问题,忽略.git目录
1 parent dccfbcf commit 55c23f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/CD.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ jobs:
135135
- name: Create Zip Package
136136
run: |
137137
zip -r 408CSFamily.zip . \
138-
-x "node_modules/*"
138+
-x "node_modules/*" \
139+
-x "*.git*"
139140
140141
# 提取版本号
141142
- name: Get New Version Number

0 commit comments

Comments
 (0)