From 0f6749b0c15765ca88d6416bd8c1e9d1cf93dcd0 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 4 Feb 2021 04:48:15 +0330 Subject: [PATCH] now support backward writing! --- .github/scripts/create-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index 5d14c00..6947f35 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -4,7 +4,7 @@ last_commit_log=$(git log -1 --pretty=format:"%s") echo "last commit log: $last_commit_log" -filter_count=$(echo "$last_commit_log" | grep -c '\[RELEASE CI\]' ) +filter_count=$(echo "$last_commit_log" | grep -e '\[RELEASE CI\]' -e '\[CI RELEASE\]' | wc -c) echo "count is: $filter_count" if [ "$filter_count" -gt 0 ]; then