修复远程终端识别本地操作系统问题并完善工作流配置 #7

Merged
shizi merged 12 commits from fix-bug into main 2026-01-14 08:05:13 +00:00
5 changed files with 95 additions and 98 deletions
Showing only changes of commit b7a73c4b15 - Show all commits

View File

@@ -70,7 +70,10 @@ jobs:
git config user.email "github-actions@github.com"
git add package.json
git commit -m "chore: bump version to $NEW_VERSION"
git push
# 推送到当前分支
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
git push origin $BRANCH_NAME || git push origin HEAD:refs/heads/$BRANCH_NAME
else
echo "版本号已更新,跳过递增"
fi