From e4433c421277b5889fc434fef624c62a895b5f2c Mon Sep 17 00:00:00 2001 From: Aaron Date: Sun, 22 Feb 2026 15:26:09 -0600 Subject: [PATCH] ci: Fix `scripts/list_unreleased_commits.sh` (#2153) --- scripts/list-unreleased-commits.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/list-unreleased-commits.sh b/scripts/list-unreleased-commits.sh index e04f6b60..fbf043ec 100755 --- a/scripts/list-unreleased-commits.sh +++ b/scripts/list-unreleased-commits.sh @@ -20,6 +20,7 @@ for dir in "$PACKAGES_DIR"/*; do # Check if the package name is in the ignored directories list if [[ " ${IGNORED_DIRS[*]} " =~ " $pkg_name " ]]; then + echo "----------------------------------------" echo "Skipping ignored package: $pkg_name" continue # Skip to the next directory fi @@ -34,12 +35,11 @@ for dir in "$PACKAGES_DIR"/*; do if [ -n "$last_tag" ]; then # If a tag is found, show commits since that tag for the specific package directory echo "Commits since last tag ($last_tag):" - git log "${last_tag}..HEAD" --oneline -- "$dir" | grep -v -E "^[a-f0-9]* (chore|docs)" + git log "${last_tag}..HEAD" --oneline -- "$dir" | grep -v -E "^[a-f0-9]* (chore|docs|refactor)" || true else # If no tag is found, show all commits for that package directory echo "No tags found for this package. Listing all commits:" - git log --oneline -- "$dir" | grep -v -E "^[a-f0-9]* (chore|docs)" + git log --oneline -- "$dir" | grep -v -E "^[a-f0-9]* (chore|docs|refactor)" || true fi - echo "" fi done