Browse Source

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

Fixes #10345
Marc Cornellà 2 years ago
parent
commit
c2b9ae2937
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/changelog.sh

+ 1 - 1
tools/changelog.sh

@@ -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