Skip to content

Commit 502b68c

Browse files
committed
build: ignore generated files in changelog
1 parent 0bd3b6e commit 502b68c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/mkreleaselog

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AUTHORS=(
2929

3030
[[ -n "${REPO_FILTER+x}" ]] || REPO_FILTER="github.com/(${$(printf "|%s" "${AUTHORS[@]}"):1})"
3131

32-
[[ -n "${IGNORED_FILES+x}" ]] || IGNORED_FILES='^\(\.gx\|package\.json\|\.travis\.yml\|go.mod\|go\.sum|\.github|\.circleci\)$'
32+
[[ -n "${IGNORED_FILES+x}" ]] || IGNORED_FILES='^\(\.gx\|package\.json\|\.travis\.yml\|go\.mod\|go\.sum\|\.github\|\.circleci\|.*\.pb\.go\|cbor_gen\.go\|.*ipldsch.*\.go\)$'
3333

3434
NL=$'\n'
3535

@@ -49,7 +49,7 @@ statlog() {
4949
mailmap_file="$ROOT_DIR/.mailmap"
5050
fi
5151

52-
git -C "$rpath" -c mailmap.file="$mailmap_file" log --use-mailmap --shortstat --no-merges --pretty="tformat:%H%n%aN%n%aE" "$start..$end" | while
52+
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
5353
read hash
5454
read name
5555
read email

0 commit comments

Comments
 (0)