Skip to content

Commit

Permalink
Merge pull request #1326 from microsoftgraph/fix/gh-workflow
Browse files Browse the repository at this point in the history
Update regex in tagging workflow to push RC versions correctly
  • Loading branch information
Ndiritu authored Aug 23, 2023
2 parents e7c3d68 + 3011f6f commit 6fee1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fee1cc

Please sign in to comment.