From 885158c1a7959340b4bd6fc66324c34e86d1216f Mon Sep 17 00:00:00 2001 From: "d.o." <6849456+d-oit@users.noreply.github.com> Date: Wed, 22 Oct 2025 04:52:30 +0000 Subject: [PATCH] Ensure release notes include only current version's changes --- .github/workflows/release-consolidated.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-consolidated.yml b/.github/workflows/release-consolidated.yml index cc34aef..da5a614 100644 --- a/.github/workflows/release-consolidated.yml +++ b/.github/workflows/release-consolidated.yml @@ -66,12 +66,15 @@ jobs: - name: Install git-cliff run: cargo install git-cliff - - name: Generate release notes run: | TAG="${{ steps.tag.outputs.tag }}" - # Generate base changelog - git cliff --tag "$TAG" --strip header > base_notes.md + # Generate changelog for current tag + git cliff --tag $TAG > base_notes.md + + + # Remove the version header line to match original format + sed -i '1d' base_notes.md # Create enhanced release notes cat > enhanced_notes.md << EOF