Compare commits

...

5 Commits

Author SHA1 Message Date
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
8 changed files with 42 additions and 17 deletions

View File

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

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.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.
@@ -1055,7 +1061,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.14.3...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.15.0...HEAD
[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.1]: https://github.com/taiki-e/install-action/compare/v2.14.0...v2.14.1

View File

@@ -350,14 +350,14 @@ case "$(uname -s)" in
Linux)
host_os=linux
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
*debian*) base_distro=debian ;;
*alpine*) base_distro=alpine ;;
*fedora*) base_distro=fedora ;;
esac
else
base_distro="$(grep '^ID=' /etc/os-release | sed 's/^ID=//')"
base_distro=$(grep '^ID=' /etc/os-release | sed 's/^ID=//')
fi
case "${base_distro}" in
fedora)

View File

@@ -21,26 +21,26 @@
}
},
"latest": {
"version": "1.1.2"
"version": "1.2.0"
},
"1.1.2": {
"1.2.0": {
"x86_64_linux_musl": {
"checksum": "a77a735455c4fd379d7965184086fa5b1a72f9f0246a5f6e6fd79ae5362bdc39"
"checksum": "3e94c24eb06fb5b3f5f4573d88f57d5cf67f07a33095ecd88f28f7b3efb02b4f"
},
"x86_64_macos": {
"checksum": "27e688f0371a4f049b8c69d4fc73cc6986f5e4cfce78b9b150fd79a1c4d1e890"
"checksum": "c77e42f25c5c9c2bf65182d5f742cdfa25f30a0d76b971d78abaa1289abd1a17"
},
"x86_64_windows": {
"checksum": "f98e0e29be8f0ce5563de76032ec5daf604edda492ee33aed69a88136d06b374"
"checksum": "b9c8090143741138ffb3296eee6ca7f7e86b79955be82bcc6db01ade9a2f7a15"
},
"aarch64_linux_musl": {
"checksum": "a8495cd3463fc71be50ab7a6d135007e2356ca528c63c044370110f52f5c5fc9"
"checksum": "4c134d5764a9e6d9e956c0cd8e483148d53141a7e44adc64e7fcb5c6f47a6196"
},
"aarch64_macos": {
"checksum": "a27733cb48b3705c7df8b86224b5f97f24aef4a5ffca851cb948413207e9ecff"
"checksum": "44562e934cdbcb8744b9e2f18b397ed197b1031ab7b6572fbc650f3996342ea3"
},
"aarch64_windows": {
"checksum": "dd775c2a9317e59b3583303a2ad5608cfabb3270f03481d09e63cbb371854f2d"
"checksum": "5f8ab7b4af115119d022160f2c798aaea618f1c778b53f2246602b7a62660dfd"
}
}
}

View File

@@ -19,10 +19,24 @@
}
},
"latest": {
"version": "0.36.12"
"version": "0.36.13"
},
"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": {
"x86_64_linux_musl": {

View File

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

View File

@@ -80,7 +80,7 @@ for manifest in tools/codegen/base/*.json; do
esac
if [[ -n "${tool_name}" ]]; 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
major.minor.patch) tool_name+="@${latest_version}" ;;
major.minor) tool_name+="@${latest_version%.*}" ;;

View File

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