Skip to content

Commit

Permalink
Retrieve more releases entries (#462)
Browse files Browse the repository at this point in the history
* feat: Retrieve more releases entries

* docs: Update changelog

* fix: Update per_page attribute to 100 (maximum)
  • Loading branch information
SergioGasquez authored Dec 10, 2024
1 parent bf94b56 commit 80e1df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/toolchain/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)\.(?P<subpatch>0|[1-9]\d*)?$";
Expand Down

0 comments on commit 80e1df8

Please sign in to comment.