chore: 强制提交dist命令

This commit is contained in:
lzh
2025-12-23 13:53:31 +08:00
parent 2b238136ad
commit 3c206a831e
3 changed files with 24 additions and 11 deletions

View File

@@ -46,7 +46,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
# 检查是否有未提交的更改
if [ -n "$(git status --porcelain)" ]; then
echo "📝 Staging build artifacts..."
git add apps/web-antd/dist
# 使用 -f 强制添加被 .gitignore 忽略的 dist 目录
git add -f apps/web-antd/dist
git add -A # 添加其他更改
echo "💾 Committing changes..."