diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d33bef8..353b4dee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Fixed +- When queriying GitHub for the list of releases, retrieve more items (#462) ### Changed - - espup now prints why an install step failed (#461) ### Removed diff --git a/src/toolchain/rust.rs b/src/toolchain/rust.rs index eae69697..1eff4122 100644 --- a/src/toolchain/rust.rs +++ b/src/toolchain/rust.rs @@ -36,7 +36,8 @@ const DEFAULT_XTENSA_RUST_REPOSITORY: &str = /// Xtensa Rust Toolchain API URL const XTENSA_RUST_LATEST_API_URL: &str = "https://api.github.com/repos/esp-rs/rust-build/releases/latest"; -const XTENSA_RUST_API_URL: &str = "https://api.github.com/repos/esp-rs/rust-build/releases"; +const XTENSA_RUST_API_URL: &str = + "https://api.github.com/repos/esp-rs/rust-build/releases?page=1&per_page=100"; /// Xtensa Rust Toolchain version regex. pub const RE_EXTENDED_SEMANTIC_VERSION: &str = r"^(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)?$";