From dddff28e62e238bab934e19316e542d5b3d66818 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sat, 25 Apr 2026 13:52:57 -0500 Subject: [PATCH] chore(release): stop appending sponsor blurb when communique succeeds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit communique 1.0.3+ now generates its own `## Sponsor mise` section in the AI-editorialized release body, so the appended `## 💚 Sponsor mise` block from #9272 ends up duplicated. v2026.4.20 and v2026.4.22 both shipped with two sponsor sections for this reason. Move the heredoc into the git-cliff fallback branch so the blurb is only added when communique didn't already produce one. The fallback path otherwise yields a stripped changelog with no branding. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af23956c73..24bab5c2ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -383,8 +383,7 @@ jobs: echo "::warning::communique failed, falling back to git-cliff changelog" mise x -- git cliff --strip all --latest > /tmp/release-notes.txt 2>/dev/null || echo "Release $VERSION" > /tmp/release-notes.txt echo "RELEASE_TITLE=$VERSION" >> "$GITHUB_ENV" - fi - cat >> /tmp/release-notes.txt <<'EOF' + cat >> /tmp/release-notes.txt <<'EOF' ## 💚 Sponsor mise @@ -392,6 +391,7 @@ jobs: If mise saves you or your team time, please consider sponsoring at [en.dev](https://en.dev). Individual and company sponsorships keep mise fast, free, and independent. EOF + fi env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Create Draft GitHub Release