From 8b8f77a1fcc0ef37a3f5dc6d185c14f71d56cae2 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Mon, 22 Jun 2026 09:12:14 +0300 Subject: [PATCH] ci(release): restore prerelease guard on retry-sign-release publish jobs (MCP-3020) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-target of #737 to main. The original PR was based on the already-merged fix/mcp-2905 branch and merged there, so the guard never reached main. Skips update-homebrew and publish-linux-repos in retry-sign-release.yml for prerelease tags (containing '-', e.g. -rc.*), mirroring release.yml — prevents the retry path from publishing prerelease artifacts to stable channels. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/retry-sign-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/retry-sign-release.yml b/.github/workflows/retry-sign-release.yml index 8b812a886..31fd49990 100644 --- a/.github/workflows/retry-sign-release.yml +++ b/.github/workflows/retry-sign-release.yml @@ -399,7 +399,7 @@ jobs: needs: release runs-on: ubuntu-latest environment: production - if: github.repository == 'smart-mcp-proxy/mcpproxy-go' + if: github.repository == 'smart-mcp-proxy/mcpproxy-go' && !contains(inputs.tag, '-') steps: - name: Checkout tap repository @@ -585,7 +585,7 @@ jobs: # Publish signed apt/yum repositories to Cloudflare R2 (mirrors release.yml) publish-linux-repos: needs: [release] - if: github.repository == 'smart-mcp-proxy/mcpproxy-go' + if: github.repository == 'smart-mcp-proxy/mcpproxy-go' && !contains(inputs.tag, '-') runs-on: ubuntu-latest environment: production