Skip to content

Commit

Permalink
Add warning that matching behavior may change at any time
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Dec 26, 2024
1 parent 31009e7 commit 5616fe8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ better behavior.

## How `ubi` Finds the Right Release Artifact

> [!WARNING] Note that the exact set of steps that `ubi` follows to find a release artifacts is not
> considered part of the API, and may change in any future release.
When `ubi` looks at the release assets (downloadable files) for a project, it tries to find the
"right" asset for the platform it's running on. The matching logic currently works like this:

Expand Down
3 changes: 3 additions & 0 deletions ubi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
//!
//! ## How `ubi` Finds the Right Release Artifact
//!
//! <div class="warning">Note that the exact set of steps that are followed to find a release
//! artifacts is not considered part of the API, and may change in any future release.</div>
//!
//! When you call [`Ubi::install_binary`], it looks at the release assets (downloadable files) for a
//! project and tries to find the "right" asset for the platform it's running on. The matching logic
//! currently works like this:
Expand Down

0 comments on commit 5616fe8

Please sign in to comment.