Allow using cargo install --git <url>
to install latest tag
#13940
Labels
A-git
Area: anything dealing with git
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-install
S-triage
Status: This issue is waiting on initial triage.
Problem
Users may want to install latest tagged version of binary from git repo. But they now must:
<tag>
.cargo install --git <url> --tag <tag>
.Proposed Solution
Maybe we can allow users to directly install the latest tag, like:
cargo install --git <url> --tag latest
. To implement this behavior, we need to query the git repo (like the following bash script), and take the latest one to install.Notes
No response
The text was updated successfully, but these errors were encountered: