From bc086c218e610675c2458c636cc6a72ace940c1d Mon Sep 17 00:00:00 2001 From: chufan Date: Wed, 31 Jul 2024 00:06:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dsync=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sync b/scripts/sync index 6da6b8df2..edee3be47 100755 --- a/scripts/sync +++ b/scripts/sync @@ -21,14 +21,14 @@ if [ "$current_branch" = "main" ]; then # 推送到每个远程仓库 for repoName in "${remoteList[@]}" do - echo "-->Pushing to $repoName in master branch..." + echo "-->Pushing to $repoName in $current_branch branch..." git push "$repoName" main done # next分支同步 elif [ "$current_branch" = "next" ]; then for repoName in "${remoteList[@]}" do - echo "-->Pushing to $repoName in next branch..." + echo "-->Pushing to $repoName in $current_branch branch..." git push "$repoName" next done else