Skip to content

Commit

Permalink
always compile the lastest version of ChubaoFS client
Browse files Browse the repository at this point in the history
Signed-off-by: chengyu-l <[email protected]>
  • Loading branch information
chengyu-l committed Sep 10, 2020
1 parent 7107b78 commit a68b628
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/build_cfs_client.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh

RootPath=$(cd "$(dirname $0)";pwd)
CfsVersion=2.0.0
test -e ${RootPath}/bin/cfs-client && exit 0
test -d ${RootPath}/chubaofs && rm -rf ${RootPath}/chubaofs
git clone https://github.com/chubaofs/chubaofs.git ${RootPath}/chubaofs && cd ${RootPath}/chubaofs && git checkout v${CfsVersion}
git clone https://github.com/chubaofs/chubaofs.git ${RootPath}/chubaofs && cd ${RootPath}/chubaofs
ChubaoFSSrcPath=${RootPath}/chubaofs
Out=`docker run -it --rm --privileged -v ${ChubaoFSSrcPath}:/root/go/src/github.com/chubaofs/chubaofs chubaofs/cfs-base:1.0.1 \
/bin/bash -c 'cd /root/go/src/github.com/chubaofs/chubaofs/build && bash ./build.sh > build.out 2>&1 && echo 0 || echo 1'`
Expand Down

0 comments on commit a68b628

Please sign in to comment.