diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 4fd6d442869..0dc30e09ae3 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -22,7 +22,7 @@ jobs: - name: Get SDK version and set environment variable run: | - SDK_VERSION=$(grep 'SDK_VERSION' src/GraphConstants.php | grep -oE '[0-9]+\.[0-9]+\.([0-9]+|[0-9]+-[a-z]+)') + SDK_VERSION=$(grep 'SDK_VERSION' src/GraphConstants.php | grep -oE '[0-9]+\.[0-9]+\.[0-9A-Za-z.\-]+') echo "SDK_VERSION=$SDK_VERSION" >> $GITHUB_ENV - name: Create and publish tag