Skip to content

Commit 7f1b018

Browse files
committed
Fix CI syntax in create-release.yml
1 parent f746c32 commit 7f1b018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
release_name: Version ${{ github.ref_name }}
2525
body_path: .github/latest_release_body.md
2626
draft: false
27-
prerelease: ${{ github.ref_name =~ '^[0-9]+\\.[0-9]+\\.[0-9]+\\.[a-zA-Z]+[0-9]*$' }}
27+
prerelease: ${{ contains(github.ref_name, '.pre') || contains(github.ref_name, '.rc') }}
2828
owner: ddnexus
2929
repo: pagy

0 commit comments

Comments
 (0)