From 7f9725209fc143014c98c4d750163c88e93338f4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 19 Aug 2025 13:43:59 +0500 Subject: [PATCH] Fix module detection to exclude hidden dirs --- scripts/tag_release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/tag_release.sh b/scripts/tag_release.sh index de2c25d72..d2d85f60b 100755 --- a/scripts/tag_release.sh +++ b/scripts/tag_release.sh @@ -308,7 +308,9 @@ detect_modules_needing_tags() { fi local all_modules - all_modules=$(find registry -mindepth 3 -maxdepth 3 -type d -path "*/modules/*" | sort -u || echo "") + # Find all module directories, excluding hidden directories + # This works on both macOS and Linux + all_modules=$(find registry -mindepth 3 -maxdepth 3 -type d -path "*/modules/*" ! -name ".*" | sort -u || echo "") [ -z "$all_modules" ] && { log "ERROR" "No modules found to check"