mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-06 21:20:26 +00:00
codegen: Ignore uv 0.11.9
``` verifying https://github.com/astral-sh/uv/releases/download/0.11.9/uv-x86_64-unknown-linux-musl.tar.gz with gh attestation verify Error: HTTP 404: Not Found (https://api.github.com/repos/astral-sh/uv/attestations/sha256:ac3e5051edbf30613b0f90d1c18d4807fea6b246f37490799fee0c1284a658b2?per_page=30&predicate_type=https://slsa.dev/provenance/v1) ``` https://github.com/astral-sh/uv/issues/19278
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"tag_prefix": "",
|
"tag_prefix": "",
|
||||||
"rust_crate": "${package}",
|
"rust_crate": "${package}",
|
||||||
"version_range": ">= 0.8.16",
|
"version_range": ">= 0.8.16",
|
||||||
|
"ignore": ["0.11.9"],
|
||||||
"signing": {
|
"signing": {
|
||||||
"version_range": ">= 0.9.13",
|
"version_range": ">= 0.9.13",
|
||||||
"kind": {
|
"kind": {
|
||||||
|
|||||||
@@ -31,9 +31,13 @@ pub struct BaseManifest {
|
|||||||
/// Path to binaries in archive. Default to `${tool}${exe}`.
|
/// Path to binaries in archive. Default to `${tool}${exe}`.
|
||||||
pub bin: Option<StringOrArray>,
|
pub bin: Option<StringOrArray>,
|
||||||
pub signing: Option<Signing>,
|
pub signing: Option<Signing>,
|
||||||
|
pub version_range: Option<String>,
|
||||||
|
/// Include to manifest, but exclude from candidate for latest and omitted versions.
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub broken: Vec<semver::Version>,
|
pub broken: Vec<semver::Version>,
|
||||||
pub version_range: Option<String>,
|
/// Exclude from manifest.
|
||||||
|
#[serde(default)]
|
||||||
|
pub ignore: Vec<semver::Version>,
|
||||||
/// Use glibc build if host_env is gnu.
|
/// Use glibc build if host_env is gnu.
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub prefer_linux_gnu: bool,
|
pub prefer_linux_gnu: bool,
|
||||||
|
|||||||
@@ -96,7 +96,11 @@ fn main() {
|
|||||||
semver_version = format!("{default_major_version}.{version}").parse();
|
semver_version = format!("{default_major_version}.{version}").parse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some((Reverse(semver_version.ok()?), (version, release)))
|
let semver_version = semver_version.ok()?;
|
||||||
|
if base_info.ignore.contains(&semver_version) {
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
Some((Reverse(semver_version), (version, release)))
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user