This is an automated email from the ASF dual-hosted git repository.

hubcio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 3711d060d fix(ci): example-runner silently skips Python/Go examples 
when exclude starts with a dash (#3770)
3711d060d is described below

commit 3711d060d0a6afc1c0f8750cfb373f26ca2d3123
Author: Ethan Lin <[email protected]>
AuthorDate: Wed Jul 29 18:09:49 2026 +0800

    fix(ci): example-runner silently skips Python/Go examples when exclude 
starts with a dash (#3770)
---
 scripts/utils.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/utils.sh b/scripts/utils.sh
index 8fb4c77df..458a4267d 100755
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -315,7 +315,7 @@ function run_readme_commands() {
     local commands
     commands=$(grep -E "${grep_pattern}" "${readme_file}" || true)
     if [ -n "${grep_exclude}" ]; then
-        commands=$(echo "${commands}" | grep -v "${grep_exclude}" || true)
+        commands=$(echo "${commands}" | grep -v -e "${grep_exclude}" || true)
     fi
     if [ -z "${commands}" ]; then
         return

Reply via email to