Commit 5e644245 by hcy001

1

parent ff3d37aa
Showing with 3 additions and 0 deletions
......@@ -8,6 +8,9 @@ git pull
rm -f ${Cur_Dir}"/cmd/main"
export GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
branch_name=$(git name-rev --name-only HEAD)
echo branch_name
git pull origin $branch_name
go build -o ${Cur_Dir}"/cmd/main" ${Cur_Dir}"/cmd/main.go"
go build -o ${Cur_Dir}"/server/main" ${Cur_Dir}"/server/main.go"
chmod +x ${Cur_Dir}"/cmd/main"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment