From e476098d57625f008a80601f772178102732887b Mon Sep 17 00:00:00 2001 From: Manuel Dewald Date: Wed, 8 Oct 2025 12:12:59 +0200 Subject: [PATCH] devx(release): fix regex parsing * grep commands used basic regexes instead of extended regular expressions --- hack/tag-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/tag-release.sh b/hack/tag-release.sh index 5f4a17f5..00b39742 100755 --- a/hack/tag-release.sh +++ b/hack/tag-release.sh @@ -16,9 +16,9 @@ if [[ "$TAG" != "" ]]; then fi echo $LIST LOG=$(git log "$LIST" --pretty=format:%s) -BREAK=$(grep -e '!' >/dev/null <<< "$LOG"; echo $?) -FEAT=$(grep -e '^(feat|update)' >/dev/null <<< "$LOG"; echo $?) -FIX=$(grep -e '^fix' >/dev/null <<< "$LOG"; echo $?) +BREAK=$(grep -E '!' >/dev/null <<< "$LOG"; echo $?) +FEAT=$(grep -E '^(feat|update)' >/dev/null <<< "$LOG"; echo $?) +FIX=$(grep -E '^fix' >/dev/null <<< "$LOG"; echo $?) echo "Latest tag: $TAG" echo "------"