diff --git a/helper/sync-dtmcli.sh b/helper/sync-dtmcli.sh index 7c97b20..7f809d0 100755 --- a/helper/sync-dtmcli.sh +++ b/helper/sync-dtmcli.sh @@ -37,7 +37,7 @@ git push --tags cd ../dtmgrpc rm -rf *.go dtmgimp cp -r ../dtm/dtmgrpc/* ./ -go get -u github.com/yedf/dtmcli@$ver +go get github.com/yedf/dtmcli@$ver sed -i '' -e 's/yedf\/dtm\//yedf\//g' *.go sed -i '' -e 's/yedf\/dtm\//yedf\//g' dtmgimp/*.go dtmgimp/*.proto rm -rf *_test.go @@ -50,8 +50,8 @@ git tag $ver git push --tags cd ../dtmgrpc-go-sample -go get -u github.com/yedf/dtmcli@$ver -go get -u github.com/yedf/dtmgrpc@$ver +go get github.com/yedf/dtmcli@$ver +go get github.com/yedf/dtmgrpc@$ver protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative busi/*.proto || exit 1 go build || exit 1 git add .