chore(release): update worktree paths and remove obsolete comments

Update WORKTREE_PATH in release scripts to include "nextjs" prefix in directory names (cozsweet-nextjs-test and cozsweet-nextjs-main) and remove outdated comment blocks from both pre_release_web.sh and release_web.sh.
This commit is contained in:
2026-06-12 14:42:43 +08:00
parent 4fa1ddf22f
commit 05674264b8
2 changed files with 2 additions and 20 deletions
+1 -10
View File
@@ -1,16 +1,7 @@
#!/bin/bash
# ==========================================
# 发布脚本(Next.js
# 合并 dev 分支代码到 main worktree,并发布 Web 制品(生产环境)
# 原始 Dart: scripts/release/release_web.sh
#
# 改动:
# - WORKTREE_PATH 改为 Next.js 项目对应 worktree
# - 图标复制路径适配 Next.jsicons/production/icons/Icon-*.png
# ==========================================
# Main 分支 worktree 路径
WORKTREE_PATH="/Users/chase/Documents/cozsweet-frontend-nextjs.worktrees/cozsweet-main"
WORKTREE_PATH="/Users/chase/Documents/cozsweet-frontend-nextjs.worktrees/cozsweet-nextjs-main"
echo "=== 进入 main 分支 worktree ==="
cd "$WORKTREE_PATH"