Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude web3-bot from mkreleaselog #1248

Merged
merged 1 commit into from
Dec 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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