Modify prerelease condition in CI workflow

Updated prerelease condition to exclude 'alpha' branch.
This commit is contained in:
0x676e67 2025-10-21 12:57:44 +08:00 committed by GitHub
parent 231010c0cb
commit d7805d6053
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -340,5 +340,5 @@ jobs:
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
generate_release_notes: true