Compare commits

...

12 Commits

Author SHA1 Message Date
Taiki Endo
7412a5eb82 Release 2.15.2 2023-08-12 23:52:18 +09:00
Taiki Endo
e7fb3cf8d9 Update cargo-llvm-cov@latest to 0.5.26 2023-08-12 23:47:04 +09:00
Taiki Endo
a62a22d1c7 Release 2.15.1 2023-08-11 22:01:59 +09:00
Taiki Endo
334ac84481 Update cargo-binstall@latest to 1.2.1 (#191) 2023-08-11 22:48:53 +10:00
Taiki Endo
db5a06b7aa Release 2.15.0 2023-08-10 21:55:01 +09:00
Taiki Endo
e3a861d97f Update cargo-binstall@latest to 1.2.0 2023-08-10 21:54:17 +09:00
Taiki Endo
4664ed74d5 Update cspell dictionary 2023-08-10 21:39:38 +09:00
Taiki Endo
f0c993f6eb Tweak scripts 2023-08-10 21:39:38 +09:00
Taiki Endo
b7354d4598 Update cargo-make@latest to 0.36.13 (#188) 2023-08-10 22:11:51 +10:00
Taiki Endo
6a805195a6 Release 2.14.3 2023-08-09 12:54:07 +09:00
Taiki Endo
d584a598e6 Update protoc@latest to 3.24.0 (#187) 2023-08-09 00:21:53 +00:00
Taiki Endo
9d183da1f4 Update parse-changelog@latest to 0.6.2 (#186) 2023-08-06 23:00:04 +10:00
11 changed files with 127 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ valgrind
xcompile xcompile
Zmiri Zmiri
// Rust target triple // Rust target triple/spec
aarch aarch
amdgpu amdgpu
androideabi androideabi
@@ -53,6 +53,7 @@ gnuspe
gnux gnux
illumos illumos
imac imac
libnx
loongarch loongarch
macabi macabi
mipsel mipsel
@@ -61,14 +62,17 @@ msvc
muslabi muslabi
musleabi musleabi
musleabihf musleabihf
newlib
newlibeabihf newlibeabihf
nvptx nvptx
ohos ohos
openwrt openwrt
relibc
riscv riscv
softfloat softfloat
sparcv sparcv
spirv spirv
teeos
thumbeb thumbeb
thumbebv thumbebv
thumbv thumbv

View File

@@ -10,6 +10,26 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased] ## [Unreleased]
## [2.15.2] - 2023-08-12
- Update `cargo-llvm-cov@latest` to 0.5.26.
## [2.15.1] - 2023-08-11
- Update `cargo-binstall@latest` to 1.2.1.
## [2.15.0] - 2023-08-10
- Update `cargo-binstall@latest` to 1.2.0.
- Update `cargo-make@latest` to 0.36.13.
## [2.14.3] - 2023-08-09
- Update `protoc@latest` to 3.24.0.
- Update `parse-changelog@latest` to 0.6.2.
## [2.14.2] - 2023-08-06 ## [2.14.2] - 2023-08-06
- Update `cargo-llvm-cov@latest` to 0.5.25. - Update `cargo-llvm-cov@latest` to 0.5.25.
@@ -1049,7 +1069,11 @@ Note: This release is considered a breaking change because installing on version
Initial release Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.14.2...HEAD [Unreleased]: https://github.com/taiki-e/install-action/compare/v2.15.2...HEAD
[2.15.2]: https://github.com/taiki-e/install-action/compare/v2.15.1...v2.15.2
[2.15.1]: https://github.com/taiki-e/install-action/compare/v2.15.0...v2.15.1
[2.15.0]: https://github.com/taiki-e/install-action/compare/v2.14.3...v2.15.0
[2.14.3]: https://github.com/taiki-e/install-action/compare/v2.14.2...v2.14.3
[2.14.2]: https://github.com/taiki-e/install-action/compare/v2.14.1...v2.14.2 [2.14.2]: https://github.com/taiki-e/install-action/compare/v2.14.1...v2.14.2
[2.14.1]: https://github.com/taiki-e/install-action/compare/v2.14.0...v2.14.1 [2.14.1]: https://github.com/taiki-e/install-action/compare/v2.14.0...v2.14.1
[2.14.0]: https://github.com/taiki-e/install-action/compare/v2.13.6...v2.14.0 [2.14.0]: https://github.com/taiki-e/install-action/compare/v2.13.6...v2.14.0

View File

@@ -350,14 +350,14 @@ case "$(uname -s)" in
Linux) Linux)
host_os=linux host_os=linux
if grep -q '^ID_LIKE=' /etc/os-release; then if grep -q '^ID_LIKE=' /etc/os-release; then
base_distro="$(grep '^ID_LIKE=' /etc/os-release | sed 's/^ID_LIKE=//')" base_distro=$(grep '^ID_LIKE=' /etc/os-release | sed 's/^ID_LIKE=//')
case "${base_distro}" in case "${base_distro}" in
*debian*) base_distro=debian ;; *debian*) base_distro=debian ;;
*alpine*) base_distro=alpine ;; *alpine*) base_distro=alpine ;;
*fedora*) base_distro=fedora ;; *fedora*) base_distro=fedora ;;
esac esac
else else
base_distro="$(grep '^ID=' /etc/os-release | sed 's/^ID=//')" base_distro=$(grep '^ID=' /etc/os-release | sed 's/^ID=//')
fi fi
case "${base_distro}" in case "${base_distro}" in
fedora) fedora)

View File

@@ -21,26 +21,26 @@
} }
}, },
"latest": { "latest": {
"version": "1.1.2" "version": "1.2.1"
}, },
"1.1.2": { "1.2.1": {
"x86_64_linux_musl": { "x86_64_linux_musl": {
"checksum": "a77a735455c4fd379d7965184086fa5b1a72f9f0246a5f6e6fd79ae5362bdc39" "checksum": "579db0cea00c5afab93a957f5db7aea9b762e0a7cd1e882b5b9fdb94fed78471"
}, },
"x86_64_macos": { "x86_64_macos": {
"checksum": "27e688f0371a4f049b8c69d4fc73cc6986f5e4cfce78b9b150fd79a1c4d1e890" "checksum": "50b8090d74b77de12c1dbaa7204476c927c02ee8a5cefddf7959412f72cca5d1"
}, },
"x86_64_windows": { "x86_64_windows": {
"checksum": "f98e0e29be8f0ce5563de76032ec5daf604edda492ee33aed69a88136d06b374" "checksum": "8906f2ab674125d73b9cca71db6615fa432b1aa594e6fea7a896b4931798066d"
}, },
"aarch64_linux_musl": { "aarch64_linux_musl": {
"checksum": "a8495cd3463fc71be50ab7a6d135007e2356ca528c63c044370110f52f5c5fc9" "checksum": "b847dd62ea44b9bcf55a267ee247c69fbe678f291bdf1705ed3565425f6a5cf5"
}, },
"aarch64_macos": { "aarch64_macos": {
"checksum": "a27733cb48b3705c7df8b86224b5f97f24aef4a5ffca851cb948413207e9ecff" "checksum": "faedc148029f30496438548b7e7a4583f0cc7fe14e61e8b838df83c5a47a32c8"
}, },
"aarch64_windows": { "aarch64_windows": {
"checksum": "dd775c2a9317e59b3583303a2ad5608cfabb3270f03481d09e63cbb371854f2d" "checksum": "6809ae3c7f35232ea1c2f2bbaa2bb1aa7493764cbd8445416a801ab781f83d0b"
} }
} }
} }

View File

@@ -18,10 +18,27 @@
} }
}, },
"latest": { "latest": {
"version": "0.5.25" "version": "0.5.26"
}, },
"0.5": { "0.5": {
"version": "0.5.25" "version": "0.5.26"
},
"0.5.26": {
"x86_64_linux_musl": {
"checksum": "9284d4ff91e76a12186670a370ecd481e0ef430f077d5258b7c45560fdce2a1f"
},
"x86_64_macos": {
"checksum": "9972f993cab0668ee22c1b1cec6c84b00e810ba56c1479122751dd23a9fd71df"
},
"x86_64_windows": {
"checksum": "f60ad6861037cd98cc5f9ed640f5bc347188ca4053956dfdc544d4259518ee29"
},
"aarch64_linux_musl": {
"checksum": "0bc7aec3aa09c638c0bc153170ab1f60802057ce9037c6febd10941e5751dc07"
},
"aarch64_macos": {
"checksum": "99864fc0f04d337a9a77fd24b89a6e9325381b5f7fb4542ce5e4a2ad2c12363c"
}
}, },
"0.5.25": { "0.5.25": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

View File

@@ -19,10 +19,24 @@
} }
}, },
"latest": { "latest": {
"version": "0.36.12" "version": "0.36.13"
}, },
"0.36": { "0.36": {
"version": "0.36.12" "version": "0.36.13"
},
"0.36.13": {
"x86_64_linux_musl": {
"checksum": "7f89f550b69e7bea469d34c09c6462cf8c7b08a5746c4e59a16600a4ebf6c409"
},
"x86_64_macos": {
"checksum": "fb383b0c461df1e1824caf6787035ca834d02ea765d6a18177bc1dbd3d2ac4c5"
},
"x86_64_windows": {
"checksum": "390379ce493a788a0853fda09480dde00b7bb3c717393cd3785e45a9b42e6aa1"
},
"aarch64_macos": {
"checksum": "e4dd8ed9035babdd5bd16799b713ec90373e65354aa92c0322a8031c78fcb65c"
}
}, },
"0.36.12": { "0.36.12": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

View File

@@ -24,10 +24,30 @@
} }
}, },
"latest": { "latest": {
"version": "0.6.1" "version": "0.6.2"
}, },
"0.6": { "0.6": {
"version": "0.6.1" "version": "0.6.2"
},
"0.6.2": {
"x86_64_linux_musl": {
"checksum": "e64e446ba613599ca51583fc94fd1062bd79550e5e75bab9ef3047d021b6bb3a"
},
"x86_64_macos": {
"checksum": "11898a671fa48b328fc80d3287b9b9e36c1d97e22031c3bdd2c24fc1b9209ef9"
},
"x86_64_windows": {
"checksum": "e0a701a6bbd1e01dfa9827f7f6000ed4d7d1783fb17836cafacbfb346e23c19f"
},
"aarch64_linux_musl": {
"checksum": "1bcee8f53807c5a571460db33fcd12d00b22220a5e5a1ab6c536c904ef47c604"
},
"aarch64_macos": {
"checksum": "76f77e36fec9c4b57190aabdd36fb140121088d3bfa1b2672be2999b71eb6a48"
},
"aarch64_windows": {
"checksum": "c9315d7352538cbe67dc9547ee8fbd6bf196fb0ae6317b903dbb6bc57b0420ff"
}
}, },
"0.6.1": { "0.6.1": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

29
manifests/protoc.json generated
View File

@@ -2,10 +2,35 @@
"rust_crate": null, "rust_crate": null,
"template": null, "template": null,
"latest": { "latest": {
"version": "3.23.4" "version": "3.24.0"
}, },
"3": { "3": {
"version": "3.23.4" "version": "3.24.0"
},
"3.24": {
"version": "3.24.0"
},
"3.24.0": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protoc-24.0-linux-x86_64.zip",
"checksum": "4feef12d91c4e452eac8c45bd11f43d51541db7fc6c18b4ca7bdd38af52c9d15"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protoc-24.0-osx-x86_64.zip",
"checksum": "c438ae68427aa848f4e2dbf7d6cbd4e6a13e30a6bcc61007fd95cfc90451264a"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protoc-24.0-win64.zip",
"checksum": "8c84d3d36936424a99934a9e5034f8a573615bf7f1b4246d536f33c120af60cd"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protoc-24.0-linux-aarch_64.zip",
"checksum": "d27f1479fc4707f275eaa952cef548f9fa0c8ef2d8cb5977f337d2ce61430682"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protoc-24.0-osx-aarch_64.zip",
"checksum": "e4cc0739f0f8ae31633fb11335f11e6fbe067ecda8fd1b4716e80cfe3661ee1d"
}
}, },
"3.23": { "3.23": {
"version": "3.23.4" "version": "3.23.4"

View File

@@ -21,7 +21,7 @@ set -x
for manifest in manifests/*.json; do for manifest in manifests/*.json; do
git add -N "${manifest}" git add -N "${manifest}"
if ! git diff --exit-code -- "${manifest}"; then if ! git diff --exit-code -- "${manifest}"; then
name="$(basename "${manifest%.*}")" name=$(basename "${manifest%.*}")
git stash git stash
old_version=$(jq -r '.latest.version' "${manifest}") old_version=$(jq -r '.latest.version' "${manifest}")
git stash pop git stash pop

View File

@@ -80,7 +80,7 @@ for manifest in tools/codegen/base/*.json; do
esac esac
if [[ -n "${tool_name}" ]]; then if [[ -n "${tool_name}" ]]; then
if [[ "${version}" != "latest" ]]; then if [[ "${version}" != "latest" ]]; then
latest_version="$(jq -r ".latest.version" "manifests/${tool_name}.json")" latest_version=$(jq -r ".latest.version" "manifests/${tool_name}.json")
case "${version}" in case "${version}" in
major.minor.patch) tool_name+="@${latest_version}" ;; major.minor.patch) tool_name+="@${latest_version}" ;;
major.minor) tool_name+="@${latest_version%.*}" ;; major.minor) tool_name+="@${latest_version%.*}" ;;

View File

@@ -15,6 +15,6 @@ if [[ $# -gt 0 ]]; then
fi fi
for manifest in tools/codegen/base/*.json; do for manifest in tools/codegen/base/*.json; do
package="$(basename "${manifest%.*}")" package=$(basename "${manifest%.*}")
cargo run --release -p install-action-internal-codegen -- "${package}" latest cargo run --release -p install-action-internal-codegen -- "${package}" latest
done done