Skip to content

Commit c179563

Browse files
authored
configure git user/email during debian-package-build (#1617)
1 parent 123da80 commit c179563

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.evergreen/scripts/debian_package_build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on_exit () {
2020
}
2121
trap on_exit EXIT
2222

23+
git config user.email "[email protected]"
24+
git config user.name "Evergreen Build"
25+
2326
if [ "${IS_PATCH}" = "true" ]; then
2427
git diff HEAD > ../upstream.patch
2528
git clean -fdx
@@ -31,8 +34,6 @@ if [ "${IS_PATCH}" = "true" ]; then
3134
git checkout ${CURRENT_BRANCH}
3235
git checkout upstream/debian/unstable -- ./debian/
3336
if [ -s ../upstream.patch ]; then
34-
git config user.email "[email protected]"
35-
git config user.name "Evergreen Patch Build"
3637
[ -d debian/patches ] || mkdir debian/patches
3738
mv ../upstream.patch debian/patches/
3839
echo upstream.patch >> debian/patches/series

0 commit comments

Comments
 (0)