From 987cd4adfe09540d48513b0b98e7ab577152afe4 Mon Sep 17 00:00:00 2001 From: sqzw-x Date: Sun, 3 Mar 2024 15:15:52 +0800 Subject: [PATCH] fix(ci): prerelease condition --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b6e7c0..79c6350 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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') }}