From ae8067cdc332645eb15c1ff089a9a7d7e81a359e Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Mon, 15 Jan 2024 19:44:57 -0800 Subject: [PATCH] Ignore commits from the RuneLite updater We must have added this at some point more recently, as it's a new committer name. --- src/.bin/runelite-blog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.bin/runelite-blog.sh b/src/.bin/runelite-blog.sh index ea881b3..507c33a 100755 --- a/src/.bin/runelite-blog.sh +++ b/src/.bin/runelite-blog.sh @@ -111,7 +111,7 @@ git_username_trimmed="$(git config user.name | cut -d ' ' -f '1')" default_date='+1 day' BLOG_DATE="${blog_date:-$default_date}" BLOG_AUTHOR="${blog_author:-$git_username_trimmed}" -git_shortlog_options=(--no-merges --perl-regexp '--author=^((?!Runelite auto updater|RuneLite Cache-Code Autoupdater).*)$' "${latest_tag}"..upstream/master) +git_shortlog_options=(--no-merges --perl-regexp '--author=^((?!Runelite auto updater|RuneLite Cache-Code Autoupdater|RuneLite updater).*)$' "${latest_tag}"..upstream/master) SHORTLOG_SINCE_LAST_TAG="$(git -C "$repo_path" --no-pager shortlog "${git_shortlog_options[@]}")" NUMBER_OF_CONTRIBUTORS="$(git -C "$repo_path" --no-pager shortlog -s "${git_shortlog_options[@]}" | wc -l)" BLOG_POST_DATE="$(date -d "${BLOG_DATE} 10:00am" +'%Y-%m-%d-%H-%M')"