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 "------"