pin cargo-license to 0.7.0

This commit is contained in:
llama 2025-09-28 01:21:13 +08:00
parent f5f60548db
commit 2b71248ff3
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -255,9 +255,7 @@ fn check_for_unstaged_changes() {
} }
fn generate_licences() -> Result<String> { fn generate_licences() -> Result<String> {
if which::which("cargo-license").is_err() { Command::run("cargo install cargo-license@0.7.0")?;
Command::run("cargo install cargo-license@0.7.0")?;
}
let output = Command::run_with_output([ let output = Command::run_with_output([
"cargo-license", "cargo-license",
"--features", "--features",