build: quiet build and verbose changelog

This commit is contained in:
Ben Grande 2024-06-13 14:03:16 +02:00
parent 7a70535553
commit 3c2bba2a9a
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
4 changed files with 14 additions and 7 deletions

View file

@ -84,7 +84,7 @@ fi
## project per directory. The disadvantage of the changelog below is it
# #doesn't differentiate commits per version and release, but per commit id.
if test "${key}" = "changelog"; then
changelog="$(TZ=UTC0 git log -n 50 --format=format:"* %cd %an <%ae> - %h%n- %s%n%n" --date=format:"%a %b %d %Y" -- "${project_dir}" | sed -re "s/^- +- */- /;/^$/d")"
changelog="$(TZ=UTC0 git log -n 50 --format=format:"* %cd %an <%ae> - %h%n- %s%n" --date=format:"%a %b %d %Y" -- "${project_dir}" | sed -re "s/^- +- */- /")"
fi
if test "${key}" = "description"; then