Skip to content

Commit

Permalink
[FIX] github workflow to build release
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Mar 6, 2023
1 parent a8840e7 commit 19151df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ jobs:
- name: Check RC Release
id: check-rc-release
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-RC[0-9]+$ ]]; then
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-(rc|RC)[0-9]+$ ]]; then
echo "is_rc_release=true" >> $GITHUB_OUTPUT
elif [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-RC[0-9]+$ ]]; then
elif [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]$ ]]; then
echo "is_rc_release=false" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 19151df

Please sign in to comment.