XAMPPRocky / octocrab

A modern, extensible GitHub API Client for Rust.
Other
1.07k stars 261 forks source link

Add support for `latest` in the `UpdateReleaseBuilder` #645

Closed ranger-ross closed 3 weeks ago

ranger-ross commented 4 months ago

As part of the GitHub API, there is a make_latest field that allows marking an existing as Latest. I think this would be useful for the builder to support

https://github.com/XAMPPRocky/octocrab/blob/7e280be901c378a1e162c37f909ea6590c6ff4ba/src/api/repos/releases.rs#L389

Let me know if you have concerns, I would be happy to open a PR.

XAMPPRocky commented 4 months ago

Thank you for your issue! Feel free to make a PR adding it 🙂