Commit 47728fc6 authored by king wang's avatar king wang

fix add

parent 59fdbebd
...@@ -219,13 +219,12 @@ auto_ci: clean fmt_proto fmt_shell protobuf ...@@ -219,13 +219,12 @@ auto_ci: clean fmt_proto fmt_shell protobuf
-${auto_fmt} -${auto_fmt}
-find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s -find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s
${auto_fmt} ${auto_fmt}
git add *.go *.sh *.proto
git status git status
echo $(branch) echo $(branch)
files=$$(git status -suno); if [ -n "$$files" ]; then \ files=$$(git status -suno); if [ -n "$$files" ]; then \
git add *.go *.sh *.proto; \ git add *.go *.sh *.proto; \
git status; \ git status; \
git commit -m "auto ci"; \ git commit -a -m "auto ci"; \
git push origin HEAD:$(branch); \ git push origin HEAD:$(branch); \
exit 1; \ exit 1; \
fi; fi;
......
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 to comment