diff --git a/.github/workflows/get_version.yml b/.github/workflows/get_version.yml index 0b8855d..1d5296e 100644 --- a/.github/workflows/get_version.yml +++ b/.github/workflows/get_version.yml @@ -13,7 +13,7 @@ jobs: - name: Get release version id: releaseVersion run: | - export COMMIT_MESSAGE=${{ github.event.head_commit.message }} + export COMMIT_MESSAGE="${{ github.event.head_commit.message }}" echo ::set-output name=tagName::${COMMIT_MESSAGE | grep -oP "release \K\d+\.\d+\.\d+"} - run: "echo '${{ steps.releaseVersion.outputs.tagName }}'"