chore: 统一所有环境分支为main分支

- 将Gitea (canary)仓库的develop分支重命名为main
- 将Bitbucket (dev)仓库的develop分支重命名为main
- 更新部署脚本和文档以使用main分支
- 删除本地develop分支

所有环境现在统一使用main分支,简化渐进发布流程
This commit is contained in:
ben
2025-08-30 14:46:59 +00:00
parent cf14f606db
commit 7dd48c5781
3 changed files with 16 additions and 18 deletions

View File

@@ -12,14 +12,14 @@ fi
case $ENV in
canary)
git checkout develop
git checkout main
git tag "v${VERSION}-canary"
git push canary develop --tags
git push canary main --tags
;;
dev)
git checkout dev
git checkout main
git tag "v${VERSION}-dev"
git push dev dev:main --tags
git push dev main --tags
;;
beta)
git checkout main

View File

@@ -12,14 +12,14 @@ fi
case $ENV in
canary)
git checkout develop
git checkout main
git reset --hard "v${VERSION}-canary"
git push canary develop --force
git push canary main --force
;;
dev)
git checkout dev
git checkout main
git reset --hard "v${VERSION}-dev"
git push dev dev:main --force
git push dev main --force
;;
beta)
git checkout main