diff --git a/.circleci/scripts/release-create-gh-release b/.circleci/scripts/release-create-gh-release index 22d998696429..93303f576ebe 100755 --- a/.circleci/scripts/release-create-gh-release +++ b/.circleci/scripts/release-create-gh-release @@ -28,7 +28,7 @@ function install_github_cli () current_commit_msg=$(git show -s --format='%s' HEAD) -if [[ $current_commit_msg =~ Version[-[:space:]]v([[:digit:]]+.[[:digit:]]+.[[:digit:]]+) ]] +if [[ $current_commit_msg =~ Version[-[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+) ]] then tag="${BASH_REMATCH[1]}"