fix(changelog): don't show more than 40 commits (#10345)

Fixes #10345
This commit is contained in:
Marc Cornellà 2021-10-26 13:23:07 +02:00
parent 1e5e834e0f
commit c2b9ae2937
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -400,7 +400,7 @@ function main {
# commit if $since is unset, in short hash form.
command git rev-list --abbrev-commit --abbrev=7 ${since:+$since..}$until | while read hash; do
# Truncate list on versions with a lot of commits
if [[ -z "$since" ]] && (( ++read_commits > 35 )); then
if (( ++read_commits > 40 )); then
truncate=1
break
fi