Skip to content

Commit

Permalink
Set prerelease and draft correctly for releases with draft in the tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 authored Dec 5, 2024
1 parent 072cb60 commit d6787e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: contains(github.ref, 'draft')
prerelease: contains(github.ref, 'draft')
draft: ${{contains(github.ref, 'draft')}}
prerelease: ${{contains(github.ref, 'draft')}}
files: |
${{ steps.package.outputs.SLANG_BINARY_ARCHIVE_ZIP }}
${{ steps.package.outputs.SLANG_BINARY_ARCHIVE_TAR }}
Expand Down

0 comments on commit d6787e5

Please sign in to comment.