Dashboard › cli › Distillation
c48013d4-6ba5-4f50-812a-02a98e112a51["lore_tm_v1_I2fhKeAkwWyk3v1wV4czd9XciEfrp7fRcw1ytHCnRfo"]
getGitHubReleasesUrl(source: UpgradeSource = PRIMARY_UPGRADE_SOURCE) returns https://api.github.com/repos/${source.githubRepo}/releases; getGitHubReleaseByTagUrl(version, source) prefixes the version with source.tagPrefix and URL-encodes the tag; getGitHubLatestReleaseUrl(source) discovers the latest CLI release for a source.GITHUB_RELEASES_URL = "https://api.github.com/repos/getsentry/cli/releases" with GITHUB_RELEASES_URL = getGitHubReleasesUrl().resolveUpgradeSource(options: ResolveUpgradeSourceOptions): Promise<ResolvedUpgradeSource>, which probes options.sources ?? UPGRADE_SOURCES in order and returns { source, response } for the first successful response.404 advances to the next source; every other HTTP or network failure aborts immediately.UpgradeError("network_error", \Failed to fetch from GitHub: HTTP ${response.status}`)`.UpgradeSourceNotFoundError().readonly signal?: AbortSignal in upgrade-source resolution/request options.