Skip to content

Fix archive URL detection using explicit HTTP status check#305

Open
foxish wants to merge 1 commit intomainfrom
fix-install-script-2
Open

Fix archive URL detection using explicit HTTP status check#305
foxish wants to merge 1 commit intomainfrom
fix-install-script-2

Conversation

@foxish
Copy link
Member

@foxish foxish commented Feb 27, 2026

Summary

  • Replaces curl -f exit code check with an explicit %{http_code} comparison to detect whether the new _mcp_ archive exists for a given release
  • The previous --head check gave false positives on Linux due to redirect chain behavior, causing the install script to attempt downloading a non-existent URL and fail with 404 for older releases

Test plan

  • Run install script on Linux against an older release (e.g. SIGNADOT_CLI_VERSION=v1.4.0) and verify it falls back to the old naming scheme
  • Run install script against a new release with _mcp_ archives and verify it uses the new URL

🤖 Generated with Claude Code

Replace curl -f exit code check with explicit %{http_code} comparison
to reliably detect whether the new _mcp_ archive exists for a release.
The previous --head check gave false positives on Linux due to redirect
chain behavior, causing installs to fail with 404 for older releases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant