mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-26 17:10:48 +00:00
Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca079cf073 | ||
|
|
df8c31f9bf | ||
|
|
45e0b9c640 | ||
|
|
9e8985f3cd | ||
|
|
ce24374b73 | ||
|
|
137568b070 | ||
|
|
32cafa544d | ||
|
|
df4e2c5813 | ||
|
|
6662e50b58 | ||
|
|
fe7bfc78d7 | ||
|
|
b5ee2ee0c2 | ||
|
|
f0e0e09968 | ||
|
|
adcdc5f593 | ||
|
|
6c9d919fa0 | ||
|
|
a5ee591cfb | ||
|
|
f725b9adf3 | ||
|
|
33a1d08515 | ||
|
|
5d427d86f0 | ||
|
|
ed8e59bd89 | ||
|
|
b4653a632e | ||
|
|
15d8c416d1 | ||
|
|
9b24cc93ef | ||
|
|
85c1f06374 | ||
|
|
ee9bdd084f | ||
|
|
9c04113bd6 | ||
|
|
e0464ce993 | ||
|
|
76b1741cb5 | ||
|
|
c6dc131d2c | ||
|
|
92585e4f79 | ||
|
|
32a9cb44cb | ||
|
|
662c1dd6eb |
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -77,6 +77,12 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@v1
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm Cargo.toml
|
||||
- name: Generate tool list
|
||||
id: tool-list
|
||||
run: tools/ci/tool-list.sh "${{ matrix.tool }}" "${{ matrix.os }}" "${{ matrix.bash }}" >>"${GITHUB_OUTPUT}"
|
||||
- run: |
|
||||
printf '%s\n' 'C:\msys64\mingw32\bin' >>"${GITHUB_PATH}"
|
||||
printf '%s\n' 'C:\msys64\usr\bin' >>"${GITHUB_PATH}"
|
||||
@@ -86,12 +92,6 @@ jobs:
|
||||
printf '%s\n' 'C:\tools\cygwin\bin' >>"${GITHUB_PATH}"
|
||||
printf '%s\n' 'C:\tools\cygwin\usr\bin' >>"${GITHUB_PATH}"
|
||||
if: matrix.bash == 'cygwin'
|
||||
- uses: taiki-e/checkout-action@v1
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm Cargo.toml
|
||||
- name: Generate tool list
|
||||
id: tool-list
|
||||
run: tools/ci/tool-list.sh "${{ matrix.tool }}" "${{ matrix.os }}" "${{ matrix.bash }}" >>"${GITHUB_OUTPUT}"
|
||||
- run: env
|
||||
- uses: ./
|
||||
with:
|
||||
|
||||
63
CHANGELOG.md
63
CHANGELOG.md
@@ -10,6 +10,56 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.45.3] - 2024-11-21
|
||||
|
||||
- Update `just@latest` to 1.37.0.
|
||||
|
||||
## [2.45.2] - 2024-11-20
|
||||
|
||||
- Update `wasmtime@latest` to 27.0.0.
|
||||
|
||||
## [2.45.1] - 2024-11-20
|
||||
|
||||
- Update `git-cliff@latest` to 2.7.0.
|
||||
|
||||
## [2.45.0] - 2024-11-19
|
||||
|
||||
- Support `cargo-auditable`. ([#741](https://github.com/taiki-e/install-action/pull/741), thanks @simonsan)
|
||||
|
||||
## [2.44.72] - 2024-11-19
|
||||
|
||||
- Update `cargo-dinghy@latest` to 0.8.0.
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.10.13.
|
||||
|
||||
## [2.44.71] - 2024-11-16
|
||||
|
||||
- Update `cargo-nextest@latest` to 0.9.84.
|
||||
|
||||
- Update `rclone@latest` to 1.68.2.
|
||||
|
||||
## [2.44.70] - 2024-11-15
|
||||
|
||||
- Update `cargo-deny@latest` to 0.16.2.
|
||||
|
||||
## [2.44.69] - 2024-11-14
|
||||
|
||||
- Update `release-plz@latest` to 0.3.108.
|
||||
|
||||
## [2.44.68] - 2024-11-12
|
||||
|
||||
- Update `hyperfine@latest` to 1.19.0.
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.10.12.
|
||||
|
||||
## [2.44.67] - 2024-11-08
|
||||
|
||||
- Update `typos@latest` to 1.27.3.
|
||||
|
||||
## [2.44.66] - 2024-11-08
|
||||
|
||||
- Update `release-plz@latest` to 0.3.107.
|
||||
|
||||
## [2.44.65] - 2024-11-08
|
||||
|
||||
- Update `cargo-lambda@latest` to 1.5.0.
|
||||
@@ -3050,7 +3100,18 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.44.65...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.45.3...HEAD
|
||||
[2.45.3]: https://github.com/taiki-e/install-action/compare/v2.45.2...v2.45.3
|
||||
[2.45.2]: https://github.com/taiki-e/install-action/compare/v2.45.1...v2.45.2
|
||||
[2.45.1]: https://github.com/taiki-e/install-action/compare/v2.45.0...v2.45.1
|
||||
[2.45.0]: https://github.com/taiki-e/install-action/compare/v2.44.72...v2.45.0
|
||||
[2.44.72]: https://github.com/taiki-e/install-action/compare/v2.44.71...v2.44.72
|
||||
[2.44.71]: https://github.com/taiki-e/install-action/compare/v2.44.70...v2.44.71
|
||||
[2.44.70]: https://github.com/taiki-e/install-action/compare/v2.44.69...v2.44.70
|
||||
[2.44.69]: https://github.com/taiki-e/install-action/compare/v2.44.68...v2.44.69
|
||||
[2.44.68]: https://github.com/taiki-e/install-action/compare/v2.44.67...v2.44.68
|
||||
[2.44.67]: https://github.com/taiki-e/install-action/compare/v2.44.66...v2.44.67
|
||||
[2.44.66]: https://github.com/taiki-e/install-action/compare/v2.44.65...v2.44.66
|
||||
[2.44.65]: https://github.com/taiki-e/install-action/compare/v2.44.64...v2.44.65
|
||||
[2.44.64]: https://github.com/taiki-e/install-action/compare/v2.44.63...v2.44.64
|
||||
[2.44.63]: https://github.com/taiki-e/install-action/compare/v2.44.62...v2.44.63
|
||||
|
||||
1
TOOLS.md
1
TOOLS.md
@@ -13,6 +13,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
|
||||
| ---- | -------------------------------- | ------------------------------- | ------------------ | ------- |
|
||||
| [**biome**](https://biomejs.dev) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/biomejs/biome/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/biomejs/biome/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/biomejs/biome/blob/main/LICENSE-MIT) |
|
||||
| [**cargo-audit**](https://github.com/rustsec/rustsec/tree/HEAD/cargo-audit) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustsec/rustsec/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT) |
|
||||
| [**cargo-auditable**](https://github.com/rust-secure-code/cargo-auditable) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-secure-code/cargo-auditable/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-binstall**](https://github.com/cargo-bins/cargo-binstall) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cargo-bins/cargo-binstall/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE) |
|
||||
| [**cargo-careful**](https://github.com/RalfJung/cargo-careful) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/RalfJung/cargo-careful/releases) | Linux, macOS, Windows | [MIT](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-APACHE) |
|
||||
| [**cargo-cyclonedx**](https://github.com/CycloneDX/cyclonedx-rust-cargo) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-rust-cargo/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/main/LICENSE) |
|
||||
|
||||
20
main.sh
20
main.sh
@@ -252,8 +252,8 @@ read_manifest() {
|
||||
fi
|
||||
;;
|
||||
macos | windows)
|
||||
# Binaries compiled for x86_64 macOS will usually also work on aarch64 macOS.
|
||||
# Binaries compiled for x86_64 Windows will usually also work on aarch64 Windows 11+.
|
||||
# Binaries compiled for x86_64 macOS will usually also work on AArch64 macOS.
|
||||
# Binaries compiled for x86_64 Windows will usually also work on AArch64 Windows 11+.
|
||||
host_platform="${host_arch}_${host_os}"
|
||||
download_info=$(call_jq <<<"${manifest}" -r ".${host_platform}")
|
||||
if [[ "${download_info}" == "null" ]] && [[ "${host_arch}" != "x86_64" ]]; then
|
||||
@@ -499,19 +499,19 @@ esac
|
||||
case "$(uname -m)" in
|
||||
aarch64 | arm64) host_arch="aarch64" ;;
|
||||
xscale | arm | armv*l)
|
||||
# Ignore arm for now, as we need to consider the version and whether hard-float is supported.
|
||||
# Ignore Arm for now, as we need to consider the version and whether hard-float is supported.
|
||||
# https://github.com/rust-lang/rustup/pull/593
|
||||
# https://github.com/cross-rs/cross/pull/1018
|
||||
# Does it seem only armv7l+ is supported?
|
||||
# https://github.com/actions/runner/blob/v2.315.0/src/Misc/externals.sh#L189
|
||||
# https://github.com/actions/runner/blob/v2.321.0/src/Misc/externals.sh#L178
|
||||
# https://github.com/actions/runner/issues/688
|
||||
bail "32-bit ARM runner is not supported yet by this action; if you need support for this platform, please submit an issue at <https://github.com/taiki-e/install-action>"
|
||||
bail "32-bit Arm runner is not supported yet by this action; if you need support for this platform, please submit an issue at <https://github.com/taiki-e/install-action>"
|
||||
;;
|
||||
# GitHub Actions Runner supports Linux (x86_64, aarch64, arm), Windows (x86_64, aarch64),
|
||||
# and macOS (x86_64, aarch64).
|
||||
# https://github.com/actions/runner/blob/v2.315.0/.github/workflows/build.yml#L21
|
||||
# GitHub Actions Runner supports Linux (x86_64, AArch64, Arm), Windows (x86_64, AArch64),
|
||||
# and macOS (x86_64, AArch64).
|
||||
# https://github.com/actions/runner/blob/v2.321.0/.github/workflows/build.yml#L21
|
||||
# https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners
|
||||
# So we can assume x86_64 unless it is aarch64 or arm.
|
||||
# So we can assume x86_64 unless it is AArch64 or Arm.
|
||||
*) host_arch="x86_64" ;;
|
||||
esac
|
||||
info "host platform: ${host_arch}_${host_os}"
|
||||
@@ -790,7 +790,7 @@ for tool in "${tools[@]}"; do
|
||||
# wait-for-them up to 0.4.0 does not support --version flag.
|
||||
biome | cargo-machete | wait-for-them) rx "${tool_bin_stem}" --version || true ;;
|
||||
# these packages support neither --version nor --help flag.
|
||||
cargo-careful | wasm-bindgen-test-runner) ;;
|
||||
cargo-auditable | cargo-careful | wasm-bindgen-test-runner) ;;
|
||||
# wasm2es6js does not support --version flag and --help flag doesn't contains version info.
|
||||
wasm2es6js) ;;
|
||||
# cargo-zigbuild has no --version flag on `cargo zigbuild` subcommand.
|
||||
|
||||
64
manifests/cargo-auditable.json
generated
Normal file
64
manifests/cargo-auditable.json
generated
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"rust_crate": "cargo-auditable",
|
||||
"template": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-unknown-linux-musl.tar.xz",
|
||||
"bin": "cargo-auditable-x86_64-unknown-linux-musl/cargo-auditable"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-apple-darwin.tar.xz",
|
||||
"bin": "cargo-auditable-x86_64-apple-darwin/cargo-auditable"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-x86_64-pc-windows-msvc.zip",
|
||||
"bin": "cargo-auditable.exe"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/rust-secure-code/cargo-auditable/releases/download/v${version}/cargo-auditable-aarch64-apple-darwin.tar.xz",
|
||||
"bin": "cargo-auditable-aarch64-apple-darwin/cargo-auditable"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)",
|
||||
"latest": {
|
||||
"version": "0.6.5"
|
||||
},
|
||||
"0.6": {
|
||||
"version": "0.6.5"
|
||||
},
|
||||
"0.6.5": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD026635663221",
|
||||
"checksum": "1c8f1079d49ec7d29c134ed5e833c56552391db2eb8968a5a8e3cffebb160454"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD0266371D1878",
|
||||
"checksum": "6b7f9ae0eb0a70ab01fe37f776e901f86f22a270491944db1f169b6cc2a6162c"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD026636A97BCE",
|
||||
"checksum": "4aa3d953cb90c177a46e5c70cbb4050e2e06d756cfd14a0d6fd28daf7d38967b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD02663824ADB8",
|
||||
"checksum": "635fe55a50e6dbb65caa1e45b5703c75a1a00a5dadddf40862c7e91012b06f94"
|
||||
}
|
||||
},
|
||||
"0.6.4": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DC7C39FA3B2719",
|
||||
"checksum": "e75d161e101be7f501e71e9dddd3f0c823e6776a45f884340ad42ec268321ea3"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DC7C39FB75C7E7",
|
||||
"checksum": "02572f75d434ea03da5eac8b82230e4b3b9e2974549e22092bccb1ef92ac28ef"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DC7C39FB1638FE",
|
||||
"checksum": "ea452ae7d3dbc2dd1f747861245be8fd6740da12b351f65c59a212df370b144c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DC7C39FC410D14",
|
||||
"checksum": "02e0faa19a9e9ceee43f83b2b557c536624a0c868307b9b2b3a5f617ef3b7cfb"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
manifests/cargo-binstall.json
generated
28
manifests/cargo-binstall.json
generated
@@ -22,32 +22,32 @@
|
||||
},
|
||||
"license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.10.11"
|
||||
"version": "1.10.13"
|
||||
},
|
||||
"1.10.11": {
|
||||
"1.10.13": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCFDDD362609B5",
|
||||
"checksum": "a81e0d53a6e9f45cba974a93a0dd8fe42f3acb4119b5eb99d47d49fe967e90dc"
|
||||
"etag": "0x8DD07B8CE73D43F",
|
||||
"checksum": "0e649badc8b9ade5f32be2afe1df9144fc4c1bb548b92eca71f0709baa240633"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCFDDCA8B181CC",
|
||||
"checksum": "0d206d9da36afb53b00673e05157296f4269f83a5c770d8dbc29391eb77df927"
|
||||
"etag": "0x8DD07B85D21C2C5",
|
||||
"checksum": "e550b5ee473377eba343476e348998cc00f8f1785901c31cfe238ac0c7ba0be3"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCFDDDD5572596",
|
||||
"checksum": "6e12c52f8cbc4ac77dffa37b44d5ffce75be6b05c6b78bd4f7d818926de15c0f"
|
||||
"etag": "0x8DD07B96F140678",
|
||||
"checksum": "6c5272909b50bf93758a294c32195e8874494e5fa1ac5c741a103070c8d1d599"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCFDDCC704C4F5",
|
||||
"checksum": "e37e564e0d2992b1bb282805fa839fc9a1ffde698c35b66af58a0d23f537af30"
|
||||
"etag": "0x8DD07B8676B234D",
|
||||
"checksum": "0aa68df492b79c07fd7764587200d8c85df61afbf8177b7471509792f043ab98"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCFDDCEDE668B7",
|
||||
"checksum": "309ba5b82dec67dc5e3ead82487921447cf5d72ecfb3a9531551f09e3a507202"
|
||||
"etag": "0x8DD07B88FD92077",
|
||||
"checksum": "b3057055d33e443e6e07b23fea851a420dcb8c29338d1cb1e14401f91162bfe9"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DCFDDD96C0243C",
|
||||
"checksum": "ae1c2e0e05ed818419f077d89322047089fc65b5a0718f8ca6f7ea301e35254b"
|
||||
"etag": "0x8DD07B958CFF416",
|
||||
"checksum": "87704964c58847c9bf7f8fd5c9706dca67f4b20573d41c934bbf0194a19b5054"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
26
manifests/cargo-deny.json
generated
26
manifests/cargo-deny.json
generated
@@ -24,10 +24,32 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.16.1"
|
||||
"version": "0.16.2"
|
||||
},
|
||||
"0.16": {
|
||||
"version": "0.16.1"
|
||||
"version": "0.16.2"
|
||||
},
|
||||
"0.16.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD0558E52679B5",
|
||||
"checksum": "1acc7db00ebbf6f9c2b63a30017acfd07f43ce687469538cc691aa6a05aa3921"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD0558E290B5A8",
|
||||
"checksum": "c234f135a76f54009e66bfcd980fa23f8d72f672ef3f9f0030cfbf68ffd29769"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD05597BBC4C8F",
|
||||
"checksum": "a63630e6c76df2aa1512cbdeb76f7b21091a31a9d8e4e624d6d0b219b996b95b"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DD0558EC8884C3",
|
||||
"checksum": "f4996929042de3591688d329fb7a0f27875da6725e917713c5ce34dd02ba260b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD0558E3D00BF0",
|
||||
"checksum": "14f544dfa89a15cdc6dbb0c0c3fb7c60f5b98db973586eb16c58cb8c56d64b59"
|
||||
}
|
||||
},
|
||||
"0.16.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
15
manifests/cargo-dinghy.json
generated
15
manifests/cargo-dinghy.json
generated
@@ -12,7 +12,20 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/sonos/dinghy/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/sonos/dinghy/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.7.3"
|
||||
"version": "0.8.0"
|
||||
},
|
||||
"0.8": {
|
||||
"version": "0.8.0"
|
||||
},
|
||||
"0.8.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD07EB5F95FDA4",
|
||||
"checksum": "225c358aed6275a2de43c1a20006d23631013128b21a07c4977f8619a3970d08"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD07EBA1A526CA",
|
||||
"checksum": "06c79e459ad2b46fd453eaea9da8bde01019214337134b521244e7d74251ee65"
|
||||
}
|
||||
},
|
||||
"0.7": {
|
||||
"version": "0.7.3"
|
||||
|
||||
50
manifests/cargo-nextest.json
generated
50
manifests/cargo-nextest.json
generated
@@ -19,10 +19,56 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/nextest-rs/nextest/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/nextest-rs/nextest/blob/main/LICENSE-MIT)",
|
||||
"latest": {
|
||||
"version": "0.9.82"
|
||||
"version": "0.9.84"
|
||||
},
|
||||
"0.9": {
|
||||
"version": "0.9.82"
|
||||
"version": "0.9.84"
|
||||
},
|
||||
"0.9.84": {
|
||||
"previous_stable_version": "0.9.83",
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DD05D0FD9A94E8",
|
||||
"checksum": "b83e4ea328b527b472ff20d0e42d5b57a795efc2dcaed277e827961a2098eaba"
|
||||
},
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD05D10B4107F4",
|
||||
"checksum": "d226756196eb4e380ba5f3f342589232d167af87c5c5d8e8d857c789927ed878"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD05D0CC9A227B",
|
||||
"checksum": "8f77b62f85ebc1100ac27a66b7e3d62f20f138401bfe83de2164908ce170c901"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD05D1793D9794",
|
||||
"checksum": "1da3e1db0493baa81a957078d3fafea79238ccfd3d43c0eef70b5ad09df51a8f"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DD05D0D812BD49",
|
||||
"checksum": "12f8b320b66d60fe531793912fcb16c91fcf58ed3f4a2e6b863777558b2dfb65"
|
||||
}
|
||||
},
|
||||
"0.9.83": {
|
||||
"previous_stable_version": "0.9.82",
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DD05C75DC4381C",
|
||||
"checksum": "7ed56b34502b8d32714d6d2b68fd8ff6043be7a1a7bb456b8c4cc0b3f156dea4"
|
||||
},
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD05C7827D4BCB",
|
||||
"checksum": "d781624777a96b5356867d5d1bcc2809049711dd44b64d8cd50899cd1ecbd2af"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD05C7840F1F5D",
|
||||
"checksum": "b4bc7b59bff480ca8ee598ef232622066a5c8141f7a86c98e59496c80d2515c9"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD05C7F8E76944",
|
||||
"checksum": "cb46f150337e91b934a5f0b62a3b0d669b8c9c1e0557d33747b2857d4f1a777a"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DD05C75DDE0B9A",
|
||||
"checksum": "c3e60cefc775777141aec51e3d5316b4d91446c278b9dad66ca6f66c8ca2fb13"
|
||||
}
|
||||
},
|
||||
"0.9.82": {
|
||||
"previous_stable_version": "0.9.81",
|
||||
|
||||
33
manifests/git-cliff.json
generated
33
manifests/git-cliff.json
generated
@@ -28,10 +28,39 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "2.6.1"
|
||||
"version": "2.7.0"
|
||||
},
|
||||
"2": {
|
||||
"version": "2.6.1"
|
||||
"version": "2.7.0"
|
||||
},
|
||||
"2.7": {
|
||||
"version": "2.7.0"
|
||||
},
|
||||
"2.7.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD0952B0DB39CC",
|
||||
"checksum": "54360b4fb80d2a8e50c2a605517d7b6a435dd2a37db70579781a0598f45a3062"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD0952630F624A",
|
||||
"checksum": "0ef07ded47fd4a4f9a704341d10e9bc3daef7054bae49d20ce4c76cb4bd01092"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD0953277A3FD1",
|
||||
"checksum": "3afecbfb8b2a1145f6321fa6fc6bf0fabb8dff5dd7fa1bfa46bafa9f7484f47c"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DD0952A53E4C8D",
|
||||
"checksum": "64db75d63e8f43ea830836bc110bebc1d80a5fe86d0e9a700a7350eb748fe9f6"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD095260B5EEE0",
|
||||
"checksum": "3c67edc958a8209c30c86de22a4aa0bac1a1d554481f647aa9a7fe304a3339ed"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DD095334EDFA8D",
|
||||
"checksum": "3020caa170c7c63517bfb16a9ae142b493bdd35903ccd4663509aa7e231aa7c0"
|
||||
}
|
||||
},
|
||||
"2.6": {
|
||||
"version": "2.6.1"
|
||||
|
||||
33
manifests/hyperfine.json
generated
33
manifests/hyperfine.json
generated
@@ -16,14 +16,43 @@
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/sharkdp/hyperfine/releases/download/v${version}/hyperfine-v${version}-aarch64-unknown-linux-gnu.tar.gz",
|
||||
"bin": "hyperfine-v${version}-aarch64-unknown-linux-gnu/hyperfine"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/sharkdp/hyperfine/releases/download/v${version}/hyperfine-v${version}-aarch64-apple-darwin.tar.gz",
|
||||
"bin": "hyperfine-v${version}-aarch64-apple-darwin/hyperfine"
|
||||
}
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "1.18.0"
|
||||
"version": "1.19.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.18.0"
|
||||
"version": "1.19.0"
|
||||
},
|
||||
"1.19": {
|
||||
"version": "1.19.0"
|
||||
},
|
||||
"1.19.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD029A2506B538",
|
||||
"checksum": "825287143f397774093539ca2458854ab3735c0e8a1aaf075c22edce7d261556"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD029A168794A5",
|
||||
"checksum": "80ad420c0a9a5d090f6ca0ddc9305a139d57ba6b6e8e7adf22c800389baf3ab6"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD029A718B5FF6",
|
||||
"checksum": "3e488eea6d930f54a43b1b2c8c01226286c7c01b5ba7211d7beb9029918a616c"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DD029A11BFB41C",
|
||||
"checksum": "7f9c0522e1acf869e0558e085c43f2cea3e30e4f7a4b7bc3d5540cbdee7b4273"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD029A033B40F5",
|
||||
"checksum": "502e7c7f99e7e1919321eaa23a4a694c34b1b92d99cbd773a4a2497e100e088f"
|
||||
}
|
||||
},
|
||||
"1.18": {
|
||||
"version": "1.18.0"
|
||||
|
||||
29
manifests/just.json
generated
29
manifests/just.json
generated
@@ -19,10 +19,35 @@
|
||||
},
|
||||
"license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.36.0"
|
||||
"version": "1.37.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.36.0"
|
||||
"version": "1.37.0"
|
||||
},
|
||||
"1.37": {
|
||||
"version": "1.37.0"
|
||||
},
|
||||
"1.37.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD09AFEAC870E8",
|
||||
"checksum": "9e301da1a46153b4c9adf9efe20d05361467b5591b1b3cf8880db59a1d019963"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD09AFF022729B",
|
||||
"checksum": "be9b503be9c50a280b92431035adc20a64a84dd1889f97b4e2f2844c77650fc7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD09B0518B8377",
|
||||
"checksum": "fc62b5dc04e103de15e04caeeb0398d286129353ff24302dd5e4da1fbd7badac"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DD09AFF2DC5D3D",
|
||||
"checksum": "96a75ed35ef2cb227d921fa71cd8c8dfb5828ca197e2740ca8626546d393b04e"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD09AFE5108C4F",
|
||||
"checksum": "613a7c96398fcccc2a5334a63bb525e865e74abee28d0df1869824a8c0c0dbeb"
|
||||
}
|
||||
},
|
||||
"1.36": {
|
||||
"version": "1.36.0"
|
||||
|
||||
32
manifests/rclone.json
generated
32
manifests/rclone.json
generated
@@ -28,13 +28,39 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)",
|
||||
"latest": {
|
||||
"version": "1.68.1"
|
||||
"version": "1.68.2"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.68.1"
|
||||
"version": "1.68.2"
|
||||
},
|
||||
"1.68": {
|
||||
"version": "1.68.1"
|
||||
"version": "1.68.2"
|
||||
},
|
||||
"1.68.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD057C3F2AF2A5",
|
||||
"checksum": "0e6fa18051e67fc600d803a2dcb10ddedb092247fc6eee61be97f64ec080a13c"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD057CFB984BD5",
|
||||
"checksum": "cdc685e16abbf35b6f47c95b2a5b4ad73a73921ff6842e5f4136c8b461756188"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD057D34187E1A",
|
||||
"checksum": "812bf76cc02c04cf6327f3683f3d5a88e47d36c39db84c1a745777496be7d993"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DD057C544627A4",
|
||||
"checksum": "c6e9d4cf9c88b279f6ad80cd5675daebc068e404890fa7e191412c1bc7a4ac5f"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD057D0613D1D3",
|
||||
"checksum": "323f387b32bcf9ddfc3874f01879a0b2689dbd91309beb8c3a4410db04d0c41f"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DD057D3B291B15",
|
||||
"checksum": "cbc6584266cf62bb9f4df912cb00d566c1cbc50ce2748f5e433f1937209e807e"
|
||||
}
|
||||
},
|
||||
"1.68.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
56
manifests/release-plz.json
generated
56
manifests/release-plz.json
generated
@@ -22,10 +22,62 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/MarcoIeni/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/MarcoIeni/release-plz/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.3.106"
|
||||
"version": "0.3.108"
|
||||
},
|
||||
"0.3": {
|
||||
"version": "0.3.106"
|
||||
"version": "0.3.108"
|
||||
},
|
||||
"0.3.108": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD0428A19F2ED5",
|
||||
"checksum": "568c73281721459c611d0e4393e4d297da91153e0ebd34826ba3a5db01dddcc5"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD042A99EA50B1",
|
||||
"checksum": "07cbbf539058e7f8fa3b8401346c7a5e3a0a2093683bbea13e06dcdcffb902e7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD04298DF03ECE",
|
||||
"checksum": "2b7a958cd7f4c43d04b7afd3bb407533ba0def292b5d81e99d7ecc53034f0f40"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DD0428AABEA526",
|
||||
"checksum": "73e89d186c5d485cb5eb0b9579bf185b8f1f99562be4153dca64f767e9575f3d"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD042A1409C977",
|
||||
"checksum": "44d92647d7aeed0d24ed03d8193cb598378f7e8a77b4e760885232d4586613e7"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DD0429A68C0ECC",
|
||||
"checksum": "b403abfc0725994495a7689996f5f106d9c52407d7e2ab3fcd066f7dfb3c70c0"
|
||||
}
|
||||
},
|
||||
"0.3.107": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCFFDABE39EB33",
|
||||
"checksum": "c04c365fc7bbff63c5ad48afed7922b2c164643795b019caf294543135c72dc3"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCFFDAF34A4A0C",
|
||||
"checksum": "0dcfa8b2cc11c0bd5faee771940a24b2f828cde28571b64c579123a757db156e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCFFDB847E30C1",
|
||||
"checksum": "6f5055da7e320ba0b4ca086dc34187c98e4c2c6b05e3ca308a06fbdb631810b3"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCFFDAC2A19EB3",
|
||||
"checksum": "44551202b60551ed1363abcb285676fc03864bc47a71a5fdfbc48a093aee5976"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCFFDB34F4FABE",
|
||||
"checksum": "1bfa1d07c8b2a1a744b03f0adc367e6b34066604aa0c10f51fd00afd4cdfb3dc"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DCFFDBACB83D67",
|
||||
"checksum": "484767e3677e0b6c1735b01fcdfd3834d549688b8f8930e0c0d6dee1e0dbb7d6"
|
||||
}
|
||||
},
|
||||
"0.3.106": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
24
manifests/typos.json
generated
24
manifests/typos.json
generated
@@ -16,13 +16,31 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "1.27.2"
|
||||
"version": "1.27.3"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.27.2"
|
||||
"version": "1.27.3"
|
||||
},
|
||||
"1.27": {
|
||||
"version": "1.27.2"
|
||||
"version": "1.27.3"
|
||||
},
|
||||
"1.27.3": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DD000722C414AA",
|
||||
"checksum": "d1020ef4c89a7e9d4f70292b4cf88e4c28de44c9da881cfb6e3aec153a61cced"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD0007309510F6",
|
||||
"checksum": "3afdf4a7101e7b074a364d6eeb4d4ec2f9ec567002f540d774e1cfe12849a8b5"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD00075F9477C4",
|
||||
"checksum": "b9b1f42a748c8cbab07d9ca9346f50ec507d2efeb97245af921edd642709b274"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD0006FC7BC3B8",
|
||||
"checksum": "ced08f770df26787c351363aad59d5fd6027b7a45335c2fddfcf82615d88e607"
|
||||
}
|
||||
},
|
||||
"1.27.2": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
34
manifests/wasmtime.json
generated
34
manifests/wasmtime.json
generated
@@ -28,7 +28,39 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "26.0.1"
|
||||
"version": "27.0.0"
|
||||
},
|
||||
"27": {
|
||||
"version": "27.0.0"
|
||||
},
|
||||
"27.0": {
|
||||
"version": "27.0.0"
|
||||
},
|
||||
"27.0.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DD097F1EE2EA9F",
|
||||
"checksum": "74678f6ec49d8b858ca5181d5492b967245f6c072b5763ea14a75eee1ad3c2d7"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DD097F20045326",
|
||||
"checksum": "286a2bd9dec59ade83ee9440f2034843309e00dc5895b135bf5fcf182733a486"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DD097F24CA1174",
|
||||
"checksum": "fc75d3cae018ab433387d72487b2d111c4614c0442ab7941b67ad49ce3631b60"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DD097F147C8338",
|
||||
"checksum": "b4b5a47d4856e508a20d6ba6aeb32444fdaaa13771f1794b19e7f56fa6ef8d3a"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DD097F15BFF367",
|
||||
"checksum": "c908ea6dd7638f5d2bba057a51f13e6c90bbe28105704a7d6691438bc95491a3"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DD097F17166118",
|
||||
"checksum": "a13d88ada8ba76129305f6d162d87598279718bc10f385ccce23533212f76fdd"
|
||||
}
|
||||
},
|
||||
"26": {
|
||||
"version": "26.0.1"
|
||||
|
||||
17
tools/codegen/base/cargo-auditable.json
Normal file
17
tools/codegen/base/cargo-auditable.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"repository": "https://github.com/rust-secure-code/cargo-auditable",
|
||||
"license_markdown": "[Apache-2.0](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rust-secure-code/cargo-auditable/blob/HEAD/LICENSE-MIT)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target}.tar.xz",
|
||||
"bin": "${package}-${rust_target}/${package}${exe}",
|
||||
"platform": {
|
||||
"x86_64_linux_musl": {},
|
||||
"x86_64_macos": {},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-${rust_target}.zip",
|
||||
"bin": "${package}${exe}"
|
||||
},
|
||||
"aarch64_macos": {}
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,7 @@
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-${rust_target}.zip"
|
||||
},
|
||||
"aarch64_linux_gnu": {}
|
||||
"aarch64_linux_gnu": {},
|
||||
"aarch64_macos": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -311,22 +311,22 @@ impl StringOrArray {
|
||||
}
|
||||
}
|
||||
|
||||
/// GitHub Actions Runner supports Linux (x86_64, aarch64, arm), Windows (x86_64, aarch64),
|
||||
/// and macOS (x86_64, aarch64).
|
||||
/// https://github.com/actions/runner/blob/v2.315.0/.github/workflows/build.yml#L21
|
||||
/// GitHub Actions Runner supports Linux (x86_64, AArch64, Arm), Windows (x86_64, AArch64),
|
||||
/// and macOS (x86_64, AArch64).
|
||||
/// https://github.com/actions/runner/blob/v2.321.0/.github/workflows/build.yml#L21
|
||||
/// https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners
|
||||
///
|
||||
/// Note:
|
||||
/// - Static-linked binaries compiled for linux-musl will also work on linux-gnu systems and are
|
||||
/// usually preferred over linux-gnu binaries because they can avoid glibc version issues.
|
||||
/// (rustc enables statically linking for linux-musl by default, except for mips.)
|
||||
/// - Binaries compiled for x86_64 macOS will usually also work on aarch64 macOS.
|
||||
/// - Binaries compiled for x86_64 Windows will usually also work on aarch64 Windows 11+.
|
||||
/// - Ignore arm for now, as we need to consider the version and whether hard-float is supported.
|
||||
/// - Binaries compiled for x86_64 macOS will usually also work on AArch64 macOS.
|
||||
/// - Binaries compiled for x86_64 Windows will usually also work on AArch64 Windows 11+.
|
||||
/// - Ignore Arm for now, as we need to consider the version and whether hard-float is supported.
|
||||
/// https://github.com/rust-lang/rustup/pull/593
|
||||
/// https://github.com/cross-rs/cross/pull/1018
|
||||
/// Does it seem only armv7l+ is supported?
|
||||
/// https://github.com/actions/runner/blob/v2.315.0/src/Misc/externals.sh#L189
|
||||
/// https://github.com/actions/runner/blob/v2.321.0/src/Misc/externals.sh#L178
|
||||
/// https://github.com/actions/runner/issues/688
|
||||
// TODO: support musl with dynamic linking like wasmtime 22.0.0+'s musl binaries: https://github.com/bytecodealliance/wasmtime/releases/tag/v22.0.0
|
||||
#[allow(non_camel_case_types)]
|
||||
|
||||
@@ -65,7 +65,7 @@ fn main() -> Result<()> {
|
||||
))?
|
||||
.into_json()?;
|
||||
// If version_req is latest, it is usually sufficient to look at the latest 100 releases.
|
||||
if r.len() < per_page || version_req.map_or(false, |req| req == "latest") {
|
||||
if r.len() < per_page || version_req.is_some_and(|req| req == "latest") {
|
||||
releases.append(&mut r);
|
||||
break;
|
||||
}
|
||||
@@ -441,7 +441,7 @@ fn main() -> Result<()> {
|
||||
&& download_info[&HostPlatform::x86_64_macos].url
|
||||
== download_info[&HostPlatform::aarch64_macos].url
|
||||
{
|
||||
// macOS universal binary or x86_64 binary that works on both x86_64 and aarch64 (rosetta).
|
||||
// macOS universal binary or x86_64 binary that works on both x86_64 and AArch64 (rosetta).
|
||||
download_info.remove(&HostPlatform::aarch64_macos);
|
||||
}
|
||||
has_build_metadata |= !semver_version.build.is_empty();
|
||||
|
||||
@@ -43,8 +43,7 @@ fn main() -> Result<()> {
|
||||
base_info_dir.push("codegen");
|
||||
base_info_dir.push("base");
|
||||
|
||||
let mut paths: Vec<_> =
|
||||
fs::read_dir(manifest_dir.clone()).unwrap().map(|r| r.unwrap()).collect();
|
||||
let mut paths: Vec<_> = fs::read_dir(&manifest_dir).unwrap().map(|r| r.unwrap()).collect();
|
||||
paths.sort_by_key(fs_err::DirEntry::path);
|
||||
|
||||
let mut tools = vec![MarkdownEntry {
|
||||
@@ -88,7 +87,7 @@ fn main() -> Result<()> {
|
||||
"linux" => platforms.linux = true,
|
||||
"macos" => platforms.macos = true,
|
||||
"windows" => platforms.windows = true,
|
||||
&_ => todo!(),
|
||||
_ => todo!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user