Compare commits

...

4 Commits

Author SHA1 Message Date
Taiki Endo
d12e869b89 Release 2.53.2 2025-06-18 21:54:12 +09:00
Taiki Endo
1f0112bf7f Update changelog 2025-06-18 21:54:05 +09:00
Taiki Endo
3b8778b638 Make nextest-specific processing robust against crates.io failure 2025-06-18 21:51:46 +09:00
Taiki Endo
33f3e8ce54 Update rclone@latest to 1.70.0 2025-06-18 21:51:46 +09:00
3 changed files with 55 additions and 17 deletions

View File

@@ -10,6 +10,12 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.53.2] - 2025-06-18
- Fix `cargo-nextest` installation failure on Ubuntu 24.04 due to HTTP 403 error on requests to crates.io. ([#1007](https://github.com/taiki-e/install-action/pull/1007))
- Update `rclone@latest` to 1.70.0.
## [2.53.1] - 2025-06-17
- Support `typos` on AArch64 Linux. ([#1004](https://github.com/taiki-e/install-action/pull/1004), thanks @vivienm)
@@ -3996,7 +4002,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.53.1...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.53.2...HEAD
[2.53.2]: https://github.com/taiki-e/install-action/compare/v2.53.1...v2.53.2
[2.53.1]: https://github.com/taiki-e/install-action/compare/v2.53.0...v2.53.1
[2.53.0]: https://github.com/taiki-e/install-action/compare/v2.52.8...v2.53.0
[2.52.8]: https://github.com/taiki-e/install-action/compare/v2.52.7...v2.52.8

30
main.sh
View File

@@ -220,20 +220,22 @@ read_manifest() {
# TODO: don't hardcode tool name and use 'immediate_yank_reflection' field in base manifest.
case "${tool}" in
cargo-nextest | nextest)
crate_info=$(retry curl --proto '=https' --tlsv1.2 -fsSL --retry 10 "https://crates.io/api/v1/crates/${rust_crate}")
while true; do
yanked=$(jq -r ".versions[] | select(.num == \"${exact_version}\") | .yanked" <<<"${crate_info}")
if [[ "${yanked}" != "true" ]]; then
break
fi
previous_stable_version=$(jq -r '.previous_stable_version' <<<"${manifest}")
if [[ "${previous_stable_version}" == "null" ]]; then
break
fi
info "${tool}@${exact_version} is yanked; downgrade to ${previous_stable_version}"
exact_version="${previous_stable_version}"
manifest=$(jq -r ".[\"${exact_version}\"]" "${manifest_dir}/${tool}.json")
done
crate_info=$(curl --proto '=https' --tlsv1.2 -fsSL --retry 10 "https://crates.io/api/v1/crates/${rust_crate}" || true)
if [[ -n "${crate_info}" ]]; then
while true; do
yanked=$(jq -r ".versions[] | select(.num == \"${exact_version}\") | .yanked" <<<"${crate_info}")
if [[ "${yanked}" != "true" ]]; then
break
fi
previous_stable_version=$(jq -r '.previous_stable_version' <<<"${manifest}")
if [[ "${previous_stable_version}" == "null" ]]; then
break
fi
info "${tool}@${exact_version} is yanked; downgrade to ${previous_stable_version}"
exact_version="${previous_stable_version}"
manifest=$(jq -r ".[\"${exact_version}\"]" "${manifest_dir}/${tool}.json")
done
fi
;;
esac
fi

33
manifests/rclone.json generated
View File

@@ -28,10 +28,39 @@
},
"license_markdown": "[MIT](https://github.com/rclone/rclone/blob/master/COPYING)",
"latest": {
"version": "1.69.3"
"version": "1.70.0"
},
"1": {
"version": "1.69.3"
"version": "1.70.0"
},
"1.70": {
"version": "1.70.0"
},
"1.70.0": {
"x86_64_linux_musl": {
"etag": "0x8DDAE5236E90A0D",
"checksum": "bc6ae0c3f19ea4bf24fa265804fd38a4ad8cf4e5013db228d3d6e09ca20bf6cf"
},
"x86_64_macos": {
"etag": "0x8DDAE53054A54EC",
"checksum": "cf02d719ac04c9aba63d53494ee13c2c1dde31fbed0d89163a27b38c3851e174"
},
"x86_64_windows": {
"etag": "0x8DDAE533E40DB55",
"checksum": "34b0a43502e508708f279108114e7e77a0a2ad94b41b27f02264b2a934201746"
},
"aarch64_linux_musl": {
"etag": "0x8DDAE524EE0254A",
"checksum": "3d27c6c30a6fa34fe99bcaa021de0c948059af4e76486fb022b24315d5c2841e"
},
"aarch64_macos": {
"etag": "0x8DDAE530DFA451C",
"checksum": "2357aac1ae7bfd76532306bf11cd139fc4609467820b91c7517b25de2ceb018e"
},
"aarch64_windows": {
"etag": "0x8DDAE5346123BDE",
"checksum": "4b0ef37414c3ee5ad4a1e2577078263b44385a8073b450234c63023344ff3f32"
}
},
"1.69": {
"version": "1.69.3"