Skip to content

Commit be704e2

Browse files
rickeylevaignas
andauthored
chore: auto compute prelease setting (bazel-contrib#2452)
This makes the release workflow automatically compute the prelease setting based on the tag name being processed. It looks for the "-rc" text in the tag to do this. Co-authored-by: Ignas Anikevicius <[email protected]>
1 parent 9f99832 commit be704e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ jobs:
4242
# Use GH feature to populate the changelog automatically
4343
generate_release_notes: true
4444
body_path: release_notes.txt
45+
prerelease: ${{ contains(github.ref, '-rc') }}
4546
fail_on_unmatched_files: true
4647
files: rules_python-*.tar.gz

0 commit comments

Comments
 (0)