Skip to content

Commit

Permalink
exclude web3-bot from mkreleaselog
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Nov 29, 2021
1 parent 3a71a6d commit 748671c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/mkreleaselog
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ statlog() {
read _ # empty line
read changes
do
if [[ $name == "web3-bot" ]]; then
continue
fi
changed=0
insertions=0
deletions=0
Expand Down Expand Up @@ -125,9 +128,16 @@ release_log() {
continue
fi

if [[ "$subject" =~ "^sync: update CI config files" ]]; then
continue
fi

if [[ "$subject" =~ '^Merge pull request #([0-9]+) from' ]]; then
local prnum="${BASH_REMATCH[2]}"
local desc="$(git -C "$dir" show --summary --format='tformat:%b' "$commit" | head -1)"
if [[ "$desc" =~ "^sync: update CI config files" ]]; then
continue
fi
printf -- "- %s (%s)\n" "$desc" "$(pr_link "$repo" "$prnum")"
elif [[ "$subject" =~ '\(#([0-9]+)\)$' ]]; then
local prnum="${BASH_REMATCH[2]}"
Expand Down

0 comments on commit 748671c

Please sign in to comment.