From 502b68c11113c4360d36f9972525da5eb5e8a55d Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Fri, 14 May 2021 10:14:45 -0400 Subject: [PATCH] build: ignore generated files in changelog --- bin/mkreleaselog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mkreleaselog b/bin/mkreleaselog index bcc4f3255..49c457053 100755 --- a/bin/mkreleaselog +++ b/bin/mkreleaselog @@ -29,7 +29,7 @@ AUTHORS=( [[ -n "${REPO_FILTER+x}" ]] || REPO_FILTER="github.com/(${$(printf "|%s" "${AUTHORS[@]}"):1})" -[[ -n "${IGNORED_FILES+x}" ]] || IGNORED_FILES='^\(\.gx\|package\.json\|\.travis\.yml\|go.mod\|go\.sum|\.github|\.circleci\)$' +[[ -n "${IGNORED_FILES+x}" ]] || IGNORED_FILES='^\(\.gx\|package\.json\|\.travis\.yml\|go\.mod\|go\.sum\|\.github\|\.circleci\|.*\.pb\.go\|cbor_gen\.go\|.*ipldsch.*\.go\)$' NL=$'\n' @@ -49,7 +49,7 @@ statlog() { mailmap_file="$ROOT_DIR/.mailmap" fi - git -C "$rpath" -c mailmap.file="$mailmap_file" log --use-mailmap --shortstat --no-merges --pretty="tformat:%H%n%aN%n%aE" "$start..$end" | while + git -C "$rpath" -c mailmap.file="$mailmap_file" log --use-mailmap --shortstat --no-merges --pretty="tformat:%H%n%aN%n%aE" "$start..$end" -- . ':^*\.pb\.go' ':^*ipldsch*\.go' ':^cbor_gen\.go\' ':^go\.mod' ':^go\.sum' | while read hash read name read email