build: ignore generated files in changelog
Adin Schmahmann committed
May 14, 2021 at 10:14 UTC
502b68c11113c4360d36f9972525da5eb5e8a55d
1 file changed
+2
-2
bin/mkreleaselog
+2
-2
@@ -29,7 +29,7 @@ AUTHORS=(
29
30
[[ -n "${REPO_FILTER+x}" ]] || REPO_FILTER="github.com/(${$(printf "|%s" "${AUTHORS[@]}"):1})"
31
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\)$'
33
34
NL=$'\n'
35
@@ -49,7 +49,7 @@ statlog() {
49
mailmap_file="$ROOT_DIR/.mailmap"
50
fi
51
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
53
read hash
54
read name
55
read email