diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 3fcfa37..09f3184 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -15,7 +15,7 @@ jobs: - name: "Check commit msg" id: check run: | - if [[ ! "${{ github.event.head_commit.message }}" =~ "^v\d.\d.\d$" ]]; then + if [[ ! "${{ github.event.head_commit.message }}" =~ ^v[0-9].[0-9].[0-9]$ ]]; then echo "skip=true" >> $GITHUB_OUTPUT else echo "skip=false" >> $GITHUB_OUTPUT