From 423a20c7de68b76d4c428572695d4b9369d0110e Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Wed, 4 Nov 2020 00:33:23 +0000 Subject: [PATCH] Add git config to make.sh --- .ci/make.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/make.sh b/.ci/make.sh index 3e91e629e4..0e059bdb0b 100755 --- a/.ci/make.sh +++ b/.ci/make.sh @@ -18,6 +18,8 @@ OUTPUT_DIR="$repo/${TARGET_DIR}" RUBY_TEST_VERSION=${RUBY_TEST_VERSION-2.7} GITHUB_TOKEN=${GITHUB_TOKEN-} RUBYGEMS_API=${RUBYGEMS_API-} +GIT_NAME=${GIT_NAME-elastic} +GIT_EMAIL=${GIT_EMAIL-'clients-team@elastic.co'} case $CMD in bump) @@ -53,4 +55,6 @@ docker run \ --volume "${OUTPUT_DIR}:/${TARGET_DIR}" \ --rm \ elastic/elasticsearch-ruby \ + git config --global user.email ${GIT_EMAIL} && \ + git config --global user.name ${GIT_NAME} && \ bundle exec rake unified_release:"$TASK"