From 95eafb667bab7bdc970066b6bdd8424994eae274 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Sat, 25 Dec 2021 08:08:00 +0800 Subject: [PATCH] update sync script --- helper/sync-dtmcli.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/helper/sync-dtmcli.sh b/helper/sync-dtmcli.sh index 25a0d51..3ac42b0 100755 --- a/helper/sync-dtmcli.sh +++ b/helper/sync-dtmcli.sh @@ -14,7 +14,7 @@ fi cd ../dtmcli cp -rf ../dtm/dtmcli/* ./ rm -f *_test.go -sed -i '' -e 's/yedf\/dtm\//yedf\//g' *.go +sed -i '' -e 's/dtm-labs\/dtm\//dtm-labs\//g' *.go */**.go go mod tidy go build || exit 1 git add . @@ -38,8 +38,7 @@ cd ../dtmgrpc rm -rf *.go dtmgimp cp -r ../dtm/dtmgrpc/* ./ go get github.com/dtm-labs/dtmcli@$ver -sed -i '' -e 's/yedf\/dtm\//yedf\//g' *.go -sed -i '' -e 's/yedf\/dtm\//yedf\//g' dtmgimp/*.go dtmgimp/*.proto +sed -i '' -e 's/dtm-labs\/dtm\//dtm-labs\//g' *.go */**.go rm -rf *_test.go go mod tidy go build || exit 1