Skip to content

fix(install): use correct download URL without 'v' prefix#94

Merged
betegon merged 2 commits intomainfrom
feat/install-script
Jan 28, 2026
Merged

fix(install): use correct download URL without 'v' prefix#94
betegon merged 2 commits intomainfrom
feat/install-script

Conversation

@betegon
Copy link
Copy Markdown
Member

@betegon betegon commented Jan 28, 2026

Summary

Fixes a bug in the install script where all downloads would 404 because the URL used v0.2.0 instead of 0.2.0. GitHub releases for this repo use version tags without the v prefix.

Test Plan

./install --version 0.2.0
$HOME/.sentry/bin/sentry --version  # should output 0.2.0

🤖 Generated with Claude Code

betegon and others added 2 commits January 28, 2026 20:19
Adds a bash script that downloads and installs the Sentry CLI binary.
Supports macOS, Linux, and Windows (via MINGW/MSYS/Cygwin) on x64 and arm64.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
GitHub releases for this repo use version tags without the 'v' prefix
(e.g., `0.2.0` not `v0.2.0`). The script was generating URLs like
`.../download/v0.2.0/...` which 404'd.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Issue

  • Add workspace-scoped alias cache by BYK in #52
  • Add short ID aliases for multi-project support by BYK in #31

Other

  • (api) Align with gh api and curl conventions by BYK in #60
  • (auth) Add press 'c' to copy URL during login flow by betegon in #58
  • (commands) Rename get commands to view and add -w browser flag by BYK in #53
  • Added footer formatting function by MathurAditya724 in #71
  • Add explain and plan commands (Seer AI) by MathurAditya724 in #39
  • Add Sentry SDK for error tracking and usage telemetry by BYK in #63

Bug Fixes 🐛

Issue

  • Support short ID aliases in explain and plan commands by BYK in #74
  • Use correct fallback for unrecognized alias-suffix inputs by BYK in #72
  • Handle cross-org project slug collisions in alias generation by BYK in #62
  • Use org-scoped endpoint for latest event + enhanced display by betegon in #40

Other

  • (api) Use query params for --field with GET requests by BYK in #59
  • (install) Use correct download URL without 'v' prefix by betegon in #94
  • (telemetry) Patch Sentry SDK to prevent 3-second exit delay by BYK in #85

Documentation 📚

  • (agents) Update AGENTS.md to reflect current codebase by betegon in #93
  • (issue) Update list command tips to reference view instead of get by BYK in #73
  • (readme) Add installation section by betegon in #65
  • Add documentation website by betegon in #77
  • Update command references from 'get' to 'view' and document -w flag by BYK in #54

Internal Changes 🔧

  • (issue) Extract shared parameters for issue commands by BYK in #79
  • (release) Fix changelog-preview permissions by BYK in #41
  • Rename config folder from .sentry-cli-next to .sentry by BYK in #50

Other

  • test(e2e): use mock HTTP server instead of live API by BYK in #78

🤖 This preview updates automatically when you update the PR.

@betegon betegon marked this pull request as ready for review January 28, 2026 19:43
@betegon betegon merged commit dcd70d5 into main Jan 28, 2026
9 checks passed
@betegon betegon deleted the feat/install-script branch January 28, 2026 19:47
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Linux*) os="linux" ;;
MINGW*|MSYS*|CYGWIN*) os="windows" ;;
*) echo -e "${RED}Unsupported OS: $(uname -s)${NC}"; exit 1 ;;
esac
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant uname -s call in OS detection

Low Severity

The OS detection block calls uname -s twice: once in the case statement (line 42) and again in the error message (line 46). The architecture detection below correctly captures uname -m into a variable first (arch=$(uname -m)) and reuses it. The OS detection pattern is inconsistent with this approach and results in a redundant system call.

Fix in Cursor Fix in Web

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