Skip to content

Commit f0dc558

Browse files
committedMar 12, 2025·
Add a check whether a tag signifies a pre-release to the release GHA
1 parent 8978711 commit f0dc558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.github/workflows/github_release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
tag: ${{ github.ref_name }}
2323
name: cider-nrepl ${{ github.ref_name }}
24+
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-alpha') || contains(github.ref, '-beta') }}
2425
generateReleaseNotes: true # Auto-generate release notes based on PRs and commits
2526
# TODO: Use bodyFile to get the contents from changelog
2627
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.