summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-11-09 16:31:40 +0000
committerLeah Rowe <leah@libreboot.org>2023-11-09 16:34:11 +0000
commit70882902b5d4f0bdc7a627b0bc9b6152bbecaca9 (patch)
tree349c47293b47d9cf5d7903861eb0f77464995c86
parent5af3ae0586ba1f437cecab551ab4fba6fb6bdef1 (diff)
build: set --author when running git init
set it to a generic name: lbmk <lbmk@libreboot.org> Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 6e61c763..932c598c 100755
--- a/build
+++ b/build
@@ -106,7 +106,8 @@ git_init()
git init || fail "${PWD}: cannot initialise Git repository"
git add -A . || fail "${PWD}: cannot add files to Git repository"
- git commit -m "${projectname} ${version}" --date "${cdate}" || \
+ git commit -m "${projectname} ${version}" --date "${cdate}" \
+ --author="lbmk <lbmk@libreboot.org>" || \
fail "${PWD}: can't commit ${projectname}/${version}, date ${cdate}"
git tag -a "${version}" -m "${projectname} ${version}" || \
fail "${PWD}: cannot git-tag ${projectname}/${version}"