From 9a7bc0be6ff77cb2beb9a2d083f73e550aaf9f9d Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Sat, 20 Jun 2026 06:42:38 +0300 Subject: [PATCH] ci(release): add !contains(inputs.tag,'-') guard to retry update-homebrew/publish-linux-repos Restores parity with release.yml's prerelease exclusion on the two distribution jobs. Running the retry workflow for an RC tag (e.g. v1.2.0-rc.1) would otherwise push to the stable Homebrew tap and the apt/rpm repos. Fast-follow for MCP-3020; part of MCP-2905 / PR #718. Co-Authored-By: Paperclip --- .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 8b812a88..31fd4999 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