Compare commits

...

7 Commits

Author SHA1 Message Date
Taiki Endo
8002e0e61d Release 2.74.1 2026-04-07 12:53:35 +00:00
Taiki Endo
025d8d1457 Update mise@latest to 2026.4.5 2026-04-07 12:43:36 +00:00
Taiki Endo
e83b58f811 Update tombi@latest to 0.9.15 2026-04-07 06:54:02 +00:00
Taiki Endo
ebe7e09a94 Update shfmt manifest 2026-04-07 01:14:18 +00:00
Taiki Endo
c24beccdbc Update coreutils manifest 2026-04-07 01:14:18 +00:00
Taiki Endo
56bf508a3f Adjust base distro detection code 2026-04-07 00:55:49 +09:00
Taiki Endo
f0e236a2f1 ci: Remove dead code 2026-04-07 00:17:21 +09:00
7 changed files with 86 additions and 26 deletions

View File

@@ -62,19 +62,6 @@ jobs:
printf '::error::%s\n' "$*"
exit 1
}
normalize_comma_or_space_separated() {
# Normalize whitespace characters into space because it's hard to handle single input contains lines with POSIX sed alone.
local list="${1//[$'\r\n\t']/ }"
if [[ "${list}" == *","* ]]; then
# If a comma is contained, consider it is a comma-separated list.
# Drop leading and trailing whitespaces in each element.
sed -E 's/ *, */,/g; s/^.//; s/,,$/,/' <<<",${list},"
else
# Otherwise, consider it is a whitespace-separated list.
# Convert whitespace characters into comma.
sed -E 's/ +/,/g; s/^.//' <<<" ${list} "
fi
}
if { sed --help 2>&1 || true; } | grep -Eq -e '-i extension'; then
in_place=(-i '')
else

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.74.1] - 2026-04-07
- Update `mise@latest` to 2026.4.5.
- Update `tombi@latest` to 0.9.15.
## [2.74.0] - 2026-04-06
- Support `cargo-deb`. ([#1669](https://github.com/taiki-e/install-action/pull/1669))
@@ -6155,7 +6161,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.74.0...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.74.1...HEAD
[2.74.1]: https://github.com/taiki-e/install-action/compare/v2.74.0...v2.74.1
[2.74.0]: https://github.com/taiki-e/install-action/compare/v2.73.0...v2.74.0
[2.73.0]: https://github.com/taiki-e/install-action/compare/v2.72.0...v2.73.0
[2.72.0]: https://github.com/taiki-e/install-action/compare/v2.71.3...v2.72.0

14
main.sh
View File

@@ -466,7 +466,13 @@ case "$(uname -s)" in
host_env=gnu
host_glibc_version=$(grep -E "GLIBC|GNU libc" <<<"${ldd_version}" | sed -E "s/.* //g")
fi
if [[ -e /etc/os-release ]]; then
if [[ -e /etc/redhat-release ]]; then
# /etc/os-release is available on RHEL/CentOS 7+
base_distro=fedora
elif [[ -e /etc/debian_version ]]; then
# /etc/os-release is available on Debian 7+
base_distro=debian
elif [[ -e /etc/os-release ]]; then
if grep -Eq '^ID_LIKE=' /etc/os-release; then
base_distro=$(grep -E '^ID_LIKE=' /etc/os-release | cut -d= -f2)
case "${base_distro}" in
@@ -480,12 +486,6 @@ case "$(uname -s)" in
base_distro=$(grep -E '^ID=' /etc/os-release | cut -d= -f2)
fi
base_distro="${base_distro//\"/}"
elif [[ -e /etc/redhat-release ]]; then
# /etc/os-release is available on RHEL/CentOS 7+
base_distro=fedora
elif [[ -e /etc/debian_version ]]; then
# /etc/os-release is available on Debian 7+
base_distro=debian
fi
case "${base_distro}" in
fedora)

View File

@@ -5,6 +5,50 @@
"latest": {
"version": "0.6.0"
},
"0.8.0": {
"x86_64_linux_musl": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-x86_64-unknown-linux-musl.tar.gz",
"etag": "0x8DE941D3DECEE20",
"hash": "b8977997a49b677169f7ce65bfc2ad658d4943c4f02f0493b1a802137202b0bf",
"bin": "coreutils-0.8.0-x86_64-unknown-linux-musl/coreutils"
},
"x86_64_macos": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-x86_64-apple-darwin.tar.gz",
"etag": "0x8DE941DCF25AA9A",
"hash": "8ac6299b298eb3ba995973b42aece162578e19f9243425a5945d9c4bd8135b0a",
"bin": "coreutils-0.8.0-x86_64-apple-darwin/coreutils"
},
"x86_64_windows": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-x86_64-pc-windows-msvc.zip",
"etag": "0x8DE941D6E03C003",
"hash": "db464cf2a6ecbfd42c85f46ed2d749be574df4df47feca1f08988fd760f324f3",
"bin": "coreutils-0.8.0-x86_64-pc-windows-msvc/coreutils.exe"
},
"aarch64_linux_musl": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-aarch64-unknown-linux-musl.tar.gz",
"etag": "0x8DE941C4BA7DC07",
"hash": "e592200ef784deecc5ac2328b0617422c89f62b9bb841eb114528ed938ccb725",
"bin": "coreutils-0.8.0-aarch64-unknown-linux-musl/coreutils"
},
"aarch64_macos": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-aarch64-apple-darwin.tar.gz",
"etag": "0x8DE941D614F7398",
"hash": "add95b420f9f1b69a0a7cb7b2672648fc72cf1294384344791e8e064bdc5e8c2",
"bin": "coreutils-0.8.0-aarch64-apple-darwin/coreutils"
},
"aarch64_windows": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-aarch64-pc-windows-msvc.zip",
"etag": "0x8DE941BAE10C59A",
"hash": "1dfa62f18b64c70b664936b06fb1be20f0f6afa9ff041dd95dda629e987435a9",
"bin": "coreutils-0.8.0-aarch64-pc-windows-msvc/coreutils.exe"
},
"riscv64_linux_musl": {
"url": "https://github.com/uutils/coreutils/releases/download/0.8.0/coreutils-0.8.0-riscv64gc-unknown-linux-musl.tar.gz",
"etag": "0x8DE941BF13F7832",
"hash": "6e6c8823d7319f0d83a932515e248df0eb531e07f3a9193aaf05fdfb9dd63698",
"bin": "coreutils-0.8.0-riscv64gc-unknown-linux-musl/coreutils"
}
},
"0.7.0": {
"x86_64_linux_musl": {
"url": "https://github.com/uutils/coreutils/releases/download/0.7.0/coreutils-0.7.0-x86_64-unknown-linux-musl.tar.gz",

6
manifests/mise.json generated
View File

@@ -28,13 +28,13 @@
},
"license_markdown": "[MIT](https://github.com/jdx/mise/blob/main/LICENSE)",
"latest": {
"version": "2026.4.4"
"version": "2026.4.5"
},
"2026": {
"version": "2026.4.4"
"version": "2026.4.5"
},
"2026.4": {
"version": "2026.4.4"
"version": "2026.4.5"
},
"2026.4.5": {
"x86_64_linux_musl": {

22
manifests/shfmt.json generated
View File

@@ -27,6 +27,28 @@
"3.13": {
"version": "3.13.0"
},
"3.13.1": {
"x86_64_linux_musl": {
"etag": "0x8DE9425968D392A",
"hash": "fb096c5d1ac6beabbdbaa2874d025badb03ee07929f0c9ff67563ce8c75398b1"
},
"x86_64_macos": {
"etag": "0x8DE9425982BD0F0",
"hash": "6feedafc72915794163114f512348e2437d080d0047ef8b8fa2ec63b575f12af"
},
"x86_64_windows": {
"etag": "0x8DE942594A8E60E",
"hash": "60cd368533d0ad73fa86d93d5bbf95ef40587245ce684ed138c1b31557b5fe97"
},
"aarch64_linux_musl": {
"etag": "0x8DE942595A9A537",
"hash": "32d92acaa5cd8abb29fc49dac123dc412442d5713967819d8af2c29f1b3857c7"
},
"aarch64_macos": {
"etag": "0x8DE9425979B56CB",
"hash": "9680526be4a66ea1ffe988ed08af58e1400fe1e4f4aef5bd88b20bb9b3da33f8"
}
},
"3.13.0": {
"x86_64_linux_musl": {
"etag": "0x8DE7DC7C27DBB2E",

4
manifests/tombi.json generated
View File

@@ -22,10 +22,10 @@
},
"license_markdown": "[MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE)",
"latest": {
"version": "0.9.14"
"version": "0.9.15"
},
"0.9": {
"version": "0.9.14"
"version": "0.9.15"
},
"0.9.15": {
"x86_64_linux_musl": {