Skip to main content

RELEASES_LIST_API_URL

Constant RELEASES_LIST_API_URL 

Source
pub const RELEASES_LIST_API_URL: &str = "https://api.github.com/repos/Life-Experimentalist/dev-prune/releases?per_page=100";
Expand description

GitHub API endpoint listing releases newest-first, for the extension .vsix.

The extension ships on its own tags (vscode-v*) and its own release page, because its version is its own and it changes on its own schedule — see .github/workflows/release-extension.yml. That is also why this is a listing rather than LATEST_RELEASE_API_URL: there is no “latest release whose tag starts with” endpoint, so the caller walks the page and takes the first match.

One page is enough by a wide margin. The extension would have to go a hundred binary releases without a single release of its own before its newest fell off the end, and the fallback degrades to “install it by hand” rather than to anything wrong.