pub const LATEST_RELEASE_API_URL: &str = "https://api.github.com/repos/Life-Experimentalist/dev-prune/releases/latest";Expand description
GitHub API endpoint for the latest published release.
Contacted by devp update and by the interval-gated check behind
run/status/init (off via update_check false or DEV_PRUNE_OFFLINE). See the
network policy in docs/PRIVACY.md.
This answers with the newest release GitHub has marked latest, which is the newest
binary release and nothing else: the extension’s releases are published with
make_latest: false precisely so they never surface here. They must not. This URL’s
answer is fed to compare_versions
after a leading v is stripped, and a vscode-v0.4.0 tag arriving here would leave
every installed copy unable to compare its own version for as long as that release
stayed newest.