From a756cd5e6ff1fa3d888b2a2facaf7046a36d8156 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Fri, 5 Sep 2025 11:33:16 -0500 Subject: [PATCH] docs: improve release notes generation --- .github/workflows/release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0111cde269..e34fdf7b31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,11 +272,7 @@ jobs: if: startsWith(github.event.ref, 'refs/tags/v') run: | VERSION="$(./scripts/get-version.sh)" - # Extract full release notes from git tag message (including subject and body) - # Use %(contents) to get the full message, then skip the PGP signature if present - git tag -l --format='%(contents)' "$VERSION" | sed '/-----BEGIN PGP SIGNATURE-----/,$d' > /tmp/release-notes.txt - # Create draft release with all assets in a single command - # Use --notes-file to safely handle special characters and multi-line content + mise x -- git cliff --strip all --latest >/tmp/release-notes.txt gh release create "$VERSION" \ --title "$VERSION" \ --notes-file /tmp/release-notes.txt \