From ad2b75a0c6f38c64775cbafa8bb15aa46d91aeb0 Mon Sep 17 00:00:00 2001 From: discord9 <55937128+discord9@users.noreply.github.com> Date: Tue, 8 Sep 2026 16:24:34 +0800 Subject: [PATCH] fix(ci): keep releases prerelease until artifact validation Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com> --- .github/actions/publish-github-release/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish-github-release/action.yml b/.github/actions/publish-github-release/action.yml index 63d2963e7d..f2d79e6d82 100644 --- a/.github/actions/publish-github-release/action.yml +++ b/.github/actions/publish-github-release/action.yml @@ -28,8 +28,9 @@ runs: shell: bash run: | if [[ "${{ inputs.version }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - echo "prerelease=false" >> $GITHUB_ENV - echo "makeLatest=true" >> $GITHUB_ENV + # Promote to Latest manually after validating the release artifacts. + echo "prerelease=true" >> $GITHUB_ENV + echo "makeLatest=false" >> $GITHUB_ENV echo "generateReleaseNotes=false" >> $GITHUB_ENV echo "omitBody=true" >> $GITHUB_ENV else