From 608c4d29097be31ad35e5b61559901f81f82641c Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 25 Aug 2023 15:24:26 +0900 Subject: [PATCH] chore: fix validate-version --- .github/scripts/validate-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validate-version b/.github/scripts/validate-version index d8fa85cdf959..411900dedb75 100644 --- a/.github/scripts/validate-version +++ b/.github/scripts/validate-version @@ -10,7 +10,7 @@ FILES=("system/CodeIgniter.php" "user_guide_src/source/conf.py") LENGTH="${#FILES[@]}" for FILE in "${FILES[@]}"; do - COUNT="$((COUNT + $(grep -c "$FILE" -e "$1")))" + COUNT="$((COUNT + $(grep -c "$FILE" -e "'$1'")))" done if [[ $COUNT -ne $LENGTH ]]; then