From 115ac52c03790ad4fcdbe41c904ef5990e52d360 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sun, 3 May 2026 19:19:59 +0000 Subject: [PATCH] chore(release): always append sponsor block to release notes The sponsor block was unintentionally limited to the communique-failure fallback branch in #9395, so successful releases (the normal case) lost the block starting with v2026.4.22. Move the cat >> heredoc back outside the if/else so it runs for both branches. Co-Authored-By: Claude Opus 4.7 (1M context) --- .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 1444d4f319..5e39fece12 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -358,7 +358,8 @@ 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" - cat >> /tmp/release-notes.txt <<'EOF' + fi + cat >> /tmp/release-notes.txt <<'EOF' ## 💚 Sponsor mise @@ -366,7 +367,6 @@ 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