Commit 82d4f74f by hcy001

1

parent 0ff55ec3
Showing with 3 additions and 1 deletions
......@@ -2,7 +2,9 @@
#!/bin/bash
cd /data/golang/search_server
git reset --hard HEAD
git pull origin dev
branch_name = $(git name-rev --name-only HEAD)
echo branch_name
git pull origin branch_name
chmod +x /data/golang/search_server/update.sh
filename="/data/golang/search_server/cmd/http/http"
rm -f $filename
......
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