Skip to content

Commit c0f6ffe

Browse files
dannylongeuaychristophwitzko
authored andcommitted
fix(*): 🐛 set temp git user name and email
1 parent a8e012b commit c0f6ffe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/start-gitea.sh

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ curl -u 'test:test' -XPOST -H 'Content-Type: application/json' -d '{"name":"no_f
2424
echo "populating no_ff_merge repo..."
2525
tmpdir=$(mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir')
2626
cd $tmpdir
27+
export GIT_COMMITTER_NAME=test
28+
export GIT_COMMITTER_EMAIL=test@test.com
29+
export GIT_AUTHOR_NAME=test
30+
export GIT_AUTHOR_EMAIL=test@test.com
2731
git init --initial-branch=master
2832
git commit -m "feat: initial commit" --allow-empty
2933
git tag v1.0.0

0 commit comments

Comments
 (0)