fix macos hgctl release (#1266)

This commit is contained in:
澄潭
2024-08-31 16:56:04 +08:00
committed by GitHub
parent d0ac5946bb
commit 3873474009
4 changed files with 58 additions and 80 deletions

View File

@@ -15,7 +15,7 @@ for repo in ${envoy_repos[@]}; do
if [ -e external/$repo ];then
continue
fi
cp -r envoy/$repo external/$repo
cp -rP envoy/$repo external/$repo
cd external/$repo
echo "gitdir: /parent/.git/modules/envoy/$repo" > .git
if [ -f "go.mod" ]; then
@@ -30,7 +30,7 @@ for repo in ${istio_repos[@]}; do
if [ -e external/$repo ];then
continue
fi
cp -r istio/$repo external/$repo
cp -rP istio/$repo external/$repo
cd external/$repo
echo "gitdir: /parent/.git/modules/istio/$repo" > .git
if [ -f "go.mod" ]; then