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
-${auto_fmt}
-find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s
${auto_fmt}
git add *.go *.sh *.proto
git status
echo $(branch)
files=$$(git status -suno); if [ -n "$$files" ]; then \
git add *.go *.sh *.proto; \
git status; \
git commit -m "auto ci"; \
git commit -a -m "auto ci"; \
git push origin HEAD:$(branch); \
exit 1; \
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