Skip to content

Commit

Permalink
fix(ci): prerelease condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Mar 3, 2024
1 parent 86a646a commit 987cd4a
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 @@ -144,7 +144,7 @@ jobs:
overwrite: true
asset_name: MDCx-$tag-${{ matrix.build }}-${{ matrix.arch }}${{ matrix.tail }}.dmg
file: dist/MDCx.dmg
prerelease: ${{ startsWith(github.ref, 'refs/tags/pre-') }}
prerelease: ${{ !startsWith(github.ref, 'refs/tags/120') }}
body: |
${{ steps.get-changelog.outputs.CHANGELOG }}
Expand All @@ -155,4 +155,4 @@ jobs:
overwrite: true
asset_name: MDCx-$tag-${{ matrix.build }}-${{ matrix.arch }}${{ matrix.tail }}.exe
file: dist/MDCx.exe
prerelease: ${{ startsWith(github.ref, 'refs/tags/pre-') }}
prerelease: ${{ !startsWith(github.ref, 'refs/tags/120') }}

0 comments on commit 987cd4a

Please sign in to comment.