From c0f6ffe9f12f39b1e6068ab568ff9d18d6f31171 Mon Sep 17 00:00:00 2001 From: dannylongeuay Date: Tue, 30 Apr 2024 13:10:08 -0700 Subject: [PATCH] fix(*): :bug: set temp git user name and email --- scripts/start-gitea.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/start-gitea.sh b/scripts/start-gitea.sh index 2a95099..d9bf89a 100755 --- a/scripts/start-gitea.sh +++ b/scripts/start-gitea.sh @@ -24,6 +24,10 @@ curl -u 'test:test' -XPOST -H 'Content-Type: application/json' -d '{"name":"no_f echo "populating no_ff_merge repo..." tmpdir=$(mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir') cd $tmpdir +export GIT_COMMITTER_NAME=test +export GIT_COMMITTER_EMAIL=test@test.com +export GIT_AUTHOR_NAME=test +export GIT_AUTHOR_EMAIL=test@test.com git init --initial-branch=master git commit -m "feat: initial commit" --allow-empty git tag v1.0.0