Skip to content

Commit

Permalink
Merge pull request #1248 from libp2p/exclude-web3-bot
Browse files Browse the repository at this point in the history
exclude web3-bot from mkreleaselog
  • Loading branch information
marten-seemann committed Dec 4, 2021
2 parents f1c315b + 748671c commit 63caff8
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 63caff8

Please sign in to comment.