From e441549aaacc19afde8cc30905ecbf08d6bcf249 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 16 Jul 2016 22:41:33 +0800 Subject: [PATCH] update publish script --- scripts/publish_dailybuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish_dailybuild.sh b/scripts/publish_dailybuild.sh index 61be0de..a4d58b3 100644 --- a/scripts/publish_dailybuild.sh +++ b/scripts/publish_dailybuild.sh @@ -9,6 +9,7 @@ if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then rm -rf views; rm -f index.html; cp $CIRCLE_ARTIFACTS/dist/* ./ -r; - git commit -a -m "daily build #$CIRCLE_SHA1" --author="CI "; + git config --global user.name "CI"; + git commit -a -m "daily build #$CIRCLE_SHA1"; git push origin gh-pages; fi \ No newline at end of file