From 585fca06a1b4447138b2df7b361efb0bd2585778 Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Tue, 17 Dec 2019 15:36:11 -0800 Subject: [PATCH] Update publish-book.sh --- ci/publish-book.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/publish-book.sh b/ci/publish-book.sh index 0f4c75df7..72ec53b43 100755 --- a/ci/publish-book.sh +++ b/ci/publish-book.sh @@ -56,7 +56,9 @@ echo --- create book repo cd book/html/ git init . git add ./* ./.nojekyll - git commit --author="$me " -m "${CI_COMMIT:-local}" + git config user.email maintainers@solana.com + git config user.name "$me" + git commit -m "${CI_COMMIT:-local}" ) echo "--- publish $BOOK" @@ -85,7 +87,9 @@ echo --- update gitbook-cage # make a local commit for the svgs git add -A -f book/src/.gitbook/assets/. if ! git diff-index --quiet HEAD; then - git commit --author="$me " -m "gitbook-cage update $(date -Is)" + git config user.email maintainers@solana.com + git config user.name "$me" + git commit -m "gitbook-cage update $(date -Is)" git push -f github.com:solana-labs/solana-gitbook-cage.git HEAD:refs/heads/"$CI_BRANCH" # pop off the local commit git reset --hard HEAD~