Skip to content

Commit 2f0b8e7

Browse files
Dumbrisclaude
andauthored
ci(release): restore prerelease guard on retry-sign-release publish jobs (MCP-3020) (#743)
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) <noreply@anthropic.com>
1 parent dde5fd6 commit 2f0b8e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/retry-sign-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ jobs:
399399
needs: release
400400
runs-on: ubuntu-latest
401401
environment: production
402-
if: github.repository == 'smart-mcp-proxy/mcpproxy-go'
402+
if: github.repository == 'smart-mcp-proxy/mcpproxy-go' && !contains(inputs.tag, '-')
403403

404404
steps:
405405
- name: Checkout tap repository
@@ -585,7 +585,7 @@ jobs:
585585
# Publish signed apt/yum repositories to Cloudflare R2 (mirrors release.yml)
586586
publish-linux-repos:
587587
needs: [release]
588-
if: github.repository == 'smart-mcp-proxy/mcpproxy-go'
588+
if: github.repository == 'smart-mcp-proxy/mcpproxy-go' && !contains(inputs.tag, '-')
589589
runs-on: ubuntu-latest
590590
environment: production
591591

0 commit comments

Comments
 (0)