Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Jan 11, 2024
1 parent f1add7c commit f4dee8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
short-description: "EMQX Operator creates and manages EMQX clusters running in Kubernetes."
- id: prerelease
run: |
if echo "${{ github.ref_name }}" |egrep -q "^[0-9].[0-9].[0-9]$"; then
if echo "${{ github.ref_name }}" |egrep -q "^[0-9]+.[0-9]+.[0-9]+$"; then
echo "::set-output name=prerelease::false"
else
echo "::set-output name=prerelease::true"
Expand Down

0 comments on commit f4dee8e

Please sign in to comment.