From f2d71adc712246ba4a2c43c37bc3184a23714b5d Mon Sep 17 00:00:00 2001 From: JSisques Date: Fri, 26 Jun 2026 20:40:39 +0200 Subject: [PATCH] fix(docker-release): consolidate pre-releases in CHANGELOG.md The full-history CHANGELOG.md step grouped commits per tag without ignoring pre-release tags, so every change landed under its alpha entry and stable sections came out empty (graduation commits carry no new changes). Pass --ignore-tags '.*-(alpha|beta|rc).*' so alpha/beta/rc work collapses into a single stable section, matching the release-notes fragment behaviour. --- .github/workflows/docker-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index cc7bbdc..834cd5b 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -196,12 +196,18 @@ jobs: run: | if [ -f cliff.toml ]; then echo "present=true" >> "$GITHUB_OUTPUT"; else echo "present=false" >> "$GITHUB_OUTPUT"; fi + # Pre-release tags (alpha/beta/rc) are collapsed so the file mirrors the + # release notes: all work that flowed through the pre-releases of a + # version lands under a single stable section instead of being scattered + # across the alpha entries (which leaves the stable entry empty, since the + # graduation commits carry no new changes). The regex is single-quoted + # because git-cliff-action splices these args into a bash command line. - name: Generate CHANGELOG.md (full history) if: steps.cliff_detect.outputs.present == 'true' && github.ref_name != 'develop' uses: orhun/git-cliff-action@v4 with: config: cliff.toml - args: --verbose --tag ${{ steps.bump.outputs.tag }} + args: --verbose --tag ${{ steps.bump.outputs.tag }} --ignore-tags '.*-(alpha|beta|rc).*' env: OUTPUT: CHANGELOG.md GITHUB_REPO: ${{ github.repository }}