Dashboard › cli › Distillation
d111b280-83a6-4946-bef7-fc0416fc07b9["lore_tm_v1_7MdsZIwhnNyaOvvMMXer0pYdJuoahv1uiN9N0qoqv8k","lore_tm_v1_zaiUP6miNQnFKWuBxiXSqP0VDd_10TTFVHDbUwXZDKw"]
/.setup --install for fresh installs and upgrade for self-updates.PRIMARY_UPGRADE_SOURCE as the default value for an UpgradeSource.ghcr.io/getsentry/cli; nightly builds are pushed as OCI artifacts via ORAS, with the version stored in the manifest annotation.ghcr.io anonymous token exchange.annotations.version from the OCI manifest and requires exactly 2 HTTP requests: a token exchange followed by a manifest fetch.ghcr.io blob downloads return an HTTP 307 redirect to Azure Blob Storage. Automatically using fetch with redirect: "follow" is rejected because it forwards the Authorization header to Azure, which responds with 404; the chosen implementation follows the redirect manually without the auth header.semverValid from semver, PRIMARY_UPGRADE_SOURCE and UpgradeSource from ./binary.js, getUserAgent from ./constants.js, customFetch from ./custom-ca.js, and UpgradeError plus UpgradeTransportError from ./errors.js.UpgradeError with the message "GHCR token exchange returned no token" when the response contains no token.manifest.annotations?.version and recognizes org.opencontainers.image.created as the artifact push time."sentry-linux-x64.gz".