Skip to content

Commit

Permalink
github actions: detect pre-release with 'rc'
Browse files Browse the repository at this point in the history
Signed-off-by: tsukinaha <sakuovds@gmail.com>
  • Loading branch information
tsukinaha committed Dec 23, 2024
1 parent b460ef2 commit 668c6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:
run: echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT

- name: Set prerelease variable
if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-alpha')
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, 'rc')
run: echo "PRERELEASE=true" >> $GITHUB_ENV

- name: Upload Github Assets
Expand Down

0 comments on commit 668c6c8

Please sign in to comment.