From 25055b3146e64568dcd63c9bc6aa7c1b72f78e94 Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:55:33 +0800 Subject: [PATCH] ci: Fix release notes of pre-releases --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff835c3a..39a19585 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,7 +142,7 @@ jobs: id: git-cliff with: config: cliff.toml - args: -vv --latest --strip header + args: -vv ${{ github.event.release.prerelease && '--unreleased' || '--latest' }} --strip header env: OUTPUT: CHANGES.md GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}