From 4614b964ad6bc5cadcf32c1e1bdee11272c2d68b Mon Sep 17 00:00:00 2001 From: Gaoyang Date: Wed, 5 Aug 2026 15:23:05 +0800 Subject: [PATCH] feat: mark GitHub release as pre-release for prerelease tags Set prerelease based on whether the tag contains a SemVer prerelease suffix (e.g. v1.0.0-alpha.1), so alpha/beta/rc tags don't show up as the latest stable release. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94bff52..deed7a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: uses: softprops/action-gh-release@v2 with: files: aimon-cli-${{ github.ref_name }}-${{ matrix.rid }}.* + prerelease: ${{ contains(github.ref_name, '-') }} publish-nuget: name: Publish dotnet tool to NuGet