Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use fixed version of proto instead of master branch #843

Merged
merged 2 commits into from
Jun 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions tikv-client/scripts/proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,25 @@

kvproto_hash=4ed0aa16f7eaeeb3386f5d081b03c35c5ab82ba5

raft_rs_hash=4fd768dc24bf9ac370f4ac2f2c3eeafef8214c66

tipb_hash=c0b8f1a8c8395c319049600dc0efd278f1e26a0d

if [ -d "kvproto" ]; then
cd kvproto; git fetch -p; git checkout ${kvproto_hash}; cd ..
else
git clone https://github.com/pingcap/kvproto; cd kvproto; git checkout ${kvproto_hash}; cd ..
fi

if [ -d "raft-rs" ]; then
cd raft-rs; git pull origin master; cd ..
cd raft-rs; git fetch -p; git checkout ${raft_rs_hash}; cd ..
else
git clone https://github.com/pingcap/raft-rs
git clone https://github.com/pingcap/raft-rs; cd raft-rs; git checkout ${raft_rs_hash}; cd ..
fi

if [ -d "tipb" ]; then
cd tipb; git pull origin master; cd ..
cd tipb; git fetch -p; git checkout ${tipb_hash}; cd ..
else
git clone https://github.com/pingcap/tipb
git clone https://github.com/pingcap/tipb; cd tipb; git checkout ${tipb_hash}; cd ..
marsishandsome marked this conversation as resolved.
Show resolved Hide resolved
fi