mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-30 10:50:25 +00:00
Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97a5807a60 | ||
|
|
354932869f | ||
|
|
ba626b4d71 | ||
|
|
befe16e822 | ||
|
|
0620033eb0 | ||
|
|
08a38582e3 | ||
|
|
3c299a507e | ||
|
|
3c436a15a3 | ||
|
|
0f9ae157f2 | ||
|
|
f69e524d67 | ||
|
|
9c2513f9f4 | ||
|
|
84505613db | ||
|
|
9cfc7fba65 | ||
|
|
b8be7f5e14 | ||
|
|
d3bc52a8b2 | ||
|
|
08d452d0b7 | ||
|
|
77557fa399 | ||
|
|
8f20d38f44 | ||
|
|
ae5d3f20c2 | ||
|
|
089a51b004 | ||
|
|
11416ea98a | ||
|
|
39fec91e69 | ||
|
|
98dac18286 | ||
|
|
9371b89122 | ||
|
|
302deb33ce | ||
|
|
29a15ef9da | ||
|
|
2604f17acf | ||
|
|
213ef8999f | ||
|
|
de2c0cd479 | ||
|
|
0ac0f9c0a8 | ||
|
|
80e6af7a2e | ||
|
|
6a86357e4b | ||
|
|
1937fe5f4e | ||
|
|
4b8a8cad69 | ||
|
|
b17ecabb43 | ||
|
|
53e0690e4b | ||
|
|
0bb270a59a | ||
|
|
408189eb2d |
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -33,20 +33,20 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
miri:
|
||||
uses: taiki-e/github-actions/.github/workflows/miri.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/miri.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
with:
|
||||
# NB: sync with test job's --exclude option
|
||||
args: --exclude install-action-internal-codegen
|
||||
msrv:
|
||||
uses: taiki-e/github-actions/.github/workflows/msrv.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/msrv.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
test-manifest-schema:
|
||||
uses: taiki-e/github-actions/.github/workflows/test.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/test.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
with:
|
||||
# NB: sync with miri job's --exclude option
|
||||
test-args: --exclude install-action-internal-codegen
|
||||
no-std: false
|
||||
tidy:
|
||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
permissions:
|
||||
contents: write # for creating branch for pr
|
||||
pull-requests: write # unused (used in `codegen-automerge: true` case)
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm -- Cargo.toml
|
||||
- name: Generate tool list
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm -- Cargo.toml
|
||||
- run: env
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04-arm
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm -- Cargo.toml
|
||||
- run: env
|
||||
@@ -298,7 +298,7 @@ jobs:
|
||||
env:
|
||||
CONTAINER: ${{ matrix.container }}
|
||||
if: startsWith(matrix.container, 'centos')
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm -- Cargo.toml
|
||||
- name: Generate tool list
|
||||
|
||||
3
.github/workflows/manifest.yml
vendored
3
.github/workflows/manifest.yml
vendored
@@ -33,7 +33,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
manifest:
|
||||
uses: taiki-e/github-actions/.github/workflows/gen.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/gen.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
permissions:
|
||||
contents: write # for creating branch for pr
|
||||
pull-requests: write # for gh pr review --approve
|
||||
@@ -46,3 +46,4 @@ jobs:
|
||||
branch: update-manifest
|
||||
automerge: true
|
||||
install-rust: true
|
||||
install-cosign: true
|
||||
|
||||
96
.github/workflows/release.yml
vendored
96
.github/workflows/release.yml
vendored
@@ -38,8 +38,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/install-action@7bc99eee1f1b8902a125006cf790a1f4c8461e63 # v2.69.8
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
- uses: taiki-e/install-action@b8be7f5e140177087325943c4a8e169d01c59b3d # v2.75.3
|
||||
with:
|
||||
tool: parse-changelog
|
||||
fallback: none
|
||||
@@ -207,8 +207,8 @@ jobs:
|
||||
permissions:
|
||||
contents: write # for taiki-e/create-gh-release-action
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1
|
||||
- uses: taiki-e/install-action@7bc99eee1f1b8902a125006cf790a1f4c8461e63 # v2.69.8
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
- uses: taiki-e/install-action@b8be7f5e140177087325943c4a8e169d01c59b3d # v2.75.3
|
||||
with:
|
||||
tool: parse-changelog
|
||||
fallback: none
|
||||
@@ -304,6 +304,50 @@ jobs:
|
||||
)
|
||||
fi
|
||||
|
||||
major_version_tag="v${version%%.*}"
|
||||
(
|
||||
set -x
|
||||
git tag "${tag}"
|
||||
git branch "releases/${major_version_tag}"
|
||||
git tag -f "${major_version_tag}"
|
||||
)
|
||||
refs=("refs/heads/${BRANCH}" "refs/tags/${tag}" "refs/heads/releases/${major_version_tag}" "+refs/tags/${major_version_tag}")
|
||||
|
||||
tools=()
|
||||
for tool in tools/codegen/base/*.json; do
|
||||
tool="${tool##*/}"
|
||||
tools+=("${tool%.*}")
|
||||
done
|
||||
# Aliases.
|
||||
# NB: Update case for aliases in main.sh, tool input option in test-alias job
|
||||
# in .github/workflows/ci.yml, and match for alias for tools/codegen/src/tools-markdown.rs.
|
||||
tools+=(
|
||||
nextest
|
||||
taplo-cli
|
||||
typos-cli
|
||||
wasm-bindgen-cli
|
||||
wasmtime-cli
|
||||
)
|
||||
# Non-manifest-based tools.
|
||||
tools+=(valgrind)
|
||||
|
||||
branches=()
|
||||
for tool in "${tools[@]}"; do
|
||||
(
|
||||
set -x
|
||||
git checkout -b "releases/${tool}"
|
||||
sed -E "${in_place[@]}" action.yml \
|
||||
-e "s/required: true/required: false/g" \
|
||||
-e "s/# default: #publish:tool/default: ${tool}/g"
|
||||
git add action.yml
|
||||
git commit -m "${tool}"
|
||||
git tag -f "${tool}"
|
||||
git checkout refs/tags/"${tag}"
|
||||
)
|
||||
refs+=("+refs/heads/releases/${tool}" "+refs/tags/${tool}")
|
||||
branches+=("releases/${tool}")
|
||||
done
|
||||
|
||||
prev_credential_helper=$(git config get --local credential.helper || true)
|
||||
if [[ -n "${prev_credential_helper}" ]]; then
|
||||
printf 'credential helper is already set (%s)\n' "${prev_credential_helper}"
|
||||
@@ -326,46 +370,6 @@ jobs:
|
||||
|
||||
(
|
||||
set -x
|
||||
git tag "${tag}"
|
||||
retry git push origin HEAD
|
||||
|
||||
major_version_tag="v${version%%.*}"
|
||||
git branch "releases/${major_version_tag}"
|
||||
git tag -f "${major_version_tag}"
|
||||
refs=("refs/tags/${tag}" "refs/heads/releases/${major_version_tag}" "+refs/tags/${major_version_tag}")
|
||||
|
||||
tools=()
|
||||
for tool in tools/codegen/base/*.json; do
|
||||
tool="${tool##*/}"
|
||||
tools+=("${tool%.*}")
|
||||
done
|
||||
# Aliases.
|
||||
# NB: Update case for aliases in main.sh, tool input option in test-alias job
|
||||
# in .github/workflows/ci.yml, and match for alias for tools/codegen/src/tools-markdown.rs.
|
||||
tools+=(
|
||||
nextest
|
||||
taplo-cli
|
||||
typos-cli
|
||||
wasm-bindgen-cli
|
||||
wasmtime-cli
|
||||
)
|
||||
# Non-manifest-based tools.
|
||||
tools+=(valgrind)
|
||||
|
||||
branches=()
|
||||
for tool in "${tools[@]}"; do
|
||||
git checkout -b "releases/${tool}"
|
||||
sed -E "${in_place[@]}" action.yml \
|
||||
-e "s/required: true/required: false/g" \
|
||||
-e "s/# default: #publish:tool/default: ${tool}/g"
|
||||
git add action.yml
|
||||
git commit -m "${tool}"
|
||||
git tag -f "${tool}"
|
||||
git checkout refs/tags/"${tag}"
|
||||
refs+=("+refs/heads/releases/${tool}" "+refs/tags/${tool}")
|
||||
branches+=("releases/${tool}")
|
||||
done
|
||||
|
||||
retry git push origin --atomic "${refs[@]}"
|
||||
git branch -d "releases/${major_version_tag}"
|
||||
git branch -D "${branches[@]}"
|
||||
@@ -423,7 +427,7 @@ jobs:
|
||||
PREPARE_REV: ${{ needs.prepare.outputs.rev }}
|
||||
# Note that if we use secrets.GITHUB_TOKEN, the pushed commit/tag cannot trigger other workflows.
|
||||
PUSH_TOKEN: ${{ steps.push-token.outputs.token }}
|
||||
- uses: taiki-e/create-gh-release-action@c5baa0b5dc700cf06439d87935e130220a6882d9 # v1.9.3
|
||||
- uses: taiki-e/create-gh-release-action@f67cf7b2dadd83d36b981e674a6b08063997ce68 # v1.10.0
|
||||
with:
|
||||
changelog: CHANGELOG.md
|
||||
title: $version
|
||||
@@ -432,7 +436,7 @@ jobs:
|
||||
|
||||
release-manifest-schema:
|
||||
if: github.repository_owner == 'taiki-e' && inputs.target == 'install-action-manifest-schema'
|
||||
uses: taiki-e/github-actions/.github/workflows/rust-release.yml@606d6c78d69927c489d319133073a03157928a7a # main
|
||||
uses: taiki-e/github-actions/.github/workflows/rust-release.yml@dec917193d835117a7238865adf83273d9fcd27a # main
|
||||
permissions:
|
||||
contents: write # for taiki-e/create-gh-release-action
|
||||
id-token: write # for rust-lang/crates-io-auth-action
|
||||
|
||||
2
.github/zizmor.yml
vendored
2
.github/zizmor.yml
vendored
@@ -2,5 +2,5 @@
|
||||
# https://docs.zizmor.sh/configuration/
|
||||
|
||||
rules:
|
||||
anonymous-definition: { disable: true }
|
||||
anonymous-definition: { disable: true } # This is pedantic/auditor only audit and requires explicitly naming each job, but is usually redundant.
|
||||
dependabot-cooldown: { config: { days: 14 } }
|
||||
|
||||
38
CHANGELOG.md
38
CHANGELOG.md
@@ -10,6 +10,38 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.75.4] - 2026-04-10
|
||||
|
||||
- Enhance security when cargo-binstall fallback is enabled. ([08a38582](https://github.com/taiki-e/install-action/commit/08a38582e35739e1fda5e4cd298e348536a1ddaa), [ba626b4d](https://github.com/taiki-e/install-action/commit/ba626b4d71edcae17f6ca956b7b81e925b2d24ef))
|
||||
|
||||
- Update `martin@latest` to 1.5.0.
|
||||
|
||||
- Update `uv@latest` to 0.11.5.
|
||||
|
||||
- Update `syft@latest` to 1.42.4.
|
||||
|
||||
- Update `dprint@latest` to 0.54.0.
|
||||
|
||||
## [2.75.3] - 2026-04-09
|
||||
|
||||
- Enhance security when cargo-binstall fallback is disabled. ([77557fa3](https://github.com/taiki-e/install-action/commit/77557fa3993e075c27572045b0d159865c23016b))
|
||||
|
||||
- Update `rclone@latest` to 1.73.4.
|
||||
|
||||
## [2.75.2] - 2026-04-09
|
||||
|
||||
- Update `uv@latest` to 0.11.4.
|
||||
|
||||
- Update `tombi@latest` to 0.9.16.
|
||||
|
||||
- Update `mise@latest` to 2026.4.6.
|
||||
|
||||
## [2.75.1] - 2026-04-08
|
||||
|
||||
- Update `shfmt@latest` to 3.13.1.
|
||||
|
||||
- Update `cosign@latest` to 3.0.6.
|
||||
|
||||
## [2.75.0] - 2026-04-07
|
||||
|
||||
- Support `cosign`. ([#1677](https://github.com/taiki-e/install-action/pull/1677))
|
||||
@@ -6165,7 +6197,11 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.75.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.75.4...HEAD
|
||||
[2.75.4]: https://github.com/taiki-e/install-action/compare/v2.75.3...v2.75.4
|
||||
[2.75.3]: https://github.com/taiki-e/install-action/compare/v2.75.2...v2.75.3
|
||||
[2.75.2]: https://github.com/taiki-e/install-action/compare/v2.75.1...v2.75.2
|
||||
[2.75.1]: https://github.com/taiki-e/install-action/compare/v2.75.0...v2.75.1
|
||||
[2.75.0]: https://github.com/taiki-e/install-action/compare/v2.74.1...v2.75.0
|
||||
[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
|
||||
|
||||
@@ -102,6 +102,10 @@ See the [development guide](DEVELOPMENT.md) for how to add support for new tool.
|
||||
|
||||
The `@v<major>` and `@<tool_name>` tags are updated with each release. If you want to enhance workflow stability and security against supply chain attacks, consider using the `@v<major>.<minor>.<patch>` tag or their hash to pin the version and regularly updating with [dependency cooldown]. Since all releases are immutable, pinning the version in either way should have the same effect. Pinning `@<tool_name>` tags by hash is strongly discouraged, as it causes the workflow to reference a [commit that is not present on the repository](https://docs.zizmor.sh/audits/#impostor-commit) when a new version is released.
|
||||
|
||||
The default fallback (cargo-binstall) is often affected by GitHub's API rate limits, so we [pass the `${{ github.token }}` to cargo-binstall](https://github.com/taiki-e/install-action/issues/561). Disabling the cargo-binstall fallback prevent passing token so helps enhance security.
|
||||
|
||||
See the [Supported tools section](#supported-tools) for how to ensure that fallback is not used.
|
||||
|
||||
<!-- omit in toc -->
|
||||
### Security on installation from GitHub Releases
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ runs:
|
||||
INPUT_TOOL: ${{ inputs.tool }}
|
||||
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
||||
INPUT_FALLBACK: ${{ inputs.fallback }}
|
||||
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
|
||||
DEFAULT_GITHUB_TOKEN: ${{ inputs.fallback == 'cargo-binstall' && github.token || '' }}
|
||||
ACTION_USER_AGENT: ${{ github.action_repository }} (${{ github.action_ref }})
|
||||
if: runner.os != 'Windows'
|
||||
# Use pwsh and retry on bash startup failure to work around windows-11-arm runner bug:
|
||||
@@ -77,6 +77,6 @@ runs:
|
||||
INPUT_TOOL: ${{ inputs.tool }}
|
||||
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
||||
INPUT_FALLBACK: ${{ inputs.fallback }}
|
||||
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
|
||||
DEFAULT_GITHUB_TOKEN: ${{ inputs.fallback == 'cargo-binstall' && github.token || '' }}
|
||||
ACTION_USER_AGENT: ${{ github.action_repository }} (${{ github.action_ref }})
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
39
main.sh
39
main.sh
@@ -236,7 +236,7 @@ read_manifest() {
|
||||
local version="$2"
|
||||
local manifest
|
||||
rust_crate=$(jq -r '.rust_crate' "${manifest_dir}/${tool}.json")
|
||||
manifest=$(jq -r ".[\"${version}\"]" "${manifest_dir}/${tool}.json")
|
||||
manifest=$(jq -r --arg version "${version}" '.[$version]' "${manifest_dir}/${tool}.json")
|
||||
if [[ "${manifest}" == "null" ]]; then
|
||||
download_info="null"
|
||||
return 0
|
||||
@@ -245,7 +245,7 @@ read_manifest() {
|
||||
if [[ "${exact_version}" == "null" ]]; then
|
||||
exact_version="${version}"
|
||||
else
|
||||
manifest=$(jq -r ".[\"${exact_version}\"]" "${manifest_dir}/${tool}.json")
|
||||
manifest=$(jq -r --arg version "${exact_version}" '.[$version]' "${manifest_dir}/${tool}.json")
|
||||
if [[ "${rust_crate}" != "null" ]]; then
|
||||
# TODO: don't hardcode tool name and use 'immediate_yank_reflection' field in base manifest.
|
||||
case "${tool}" in
|
||||
@@ -253,7 +253,7 @@ read_manifest() {
|
||||
crate_info=$(retry curl --user-agent "${ACTION_USER_AGENT}" --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}")
|
||||
yanked=$(jq -r --arg version "${exact_version}" '.versions[] | select(.num == $version) | .yanked' <<<"${crate_info}")
|
||||
if [[ "${yanked}" != "true" ]]; then
|
||||
break
|
||||
fi
|
||||
@@ -263,7 +263,7 @@ read_manifest() {
|
||||
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")
|
||||
manifest=$(jq -r --arg version "${exact_version}" '.[$version]' "${manifest_dir}/${tool}.json")
|
||||
done
|
||||
fi
|
||||
;;
|
||||
@@ -277,14 +277,14 @@ read_manifest() {
|
||||
# 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.)
|
||||
host_platform="${host_arch}_linux_musl"
|
||||
download_info=$(jq -r ".${host_platform}" <<<"${manifest}")
|
||||
download_info=$(jq -r --arg p "${host_platform}" '.[$p]' <<<"${manifest}")
|
||||
if [[ "${download_info}" == "null" ]]; then
|
||||
# Even if host_env is musl, we won't issue an error here because it seems that in
|
||||
# some cases linux-gnu binaries will work on linux-musl hosts.
|
||||
# https://wiki.alpinelinux.org/wiki/Running_glibc_programs
|
||||
# TODO: However, a warning may make sense.
|
||||
host_platform="${host_arch}_linux_gnu"
|
||||
download_info=$(jq -r ".${host_platform}" <<<"${manifest}")
|
||||
download_info=$(jq -r --arg p "${host_platform}" '.[$p]' <<<"${manifest}")
|
||||
elif [[ "${host_env}" == "gnu" ]]; then
|
||||
# TODO: don't hardcode tool name and use 'prefer_linux_gnu' field in base manifest.
|
||||
case "${tool}" in
|
||||
@@ -296,7 +296,7 @@ read_manifest() {
|
||||
# musl build of nextest is slow, so use glibc build if host_env is gnu.
|
||||
# https://github.com/taiki-e/install-action/issues/13
|
||||
host_platform="${host_arch}_linux_gnu"
|
||||
download_info=$(jq -r ".${host_platform}" <<<"${manifest}")
|
||||
download_info=$(jq -r --arg p "${host_platform}" '.[$p]' <<<"${manifest}")
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@@ -306,10 +306,10 @@ read_manifest() {
|
||||
# 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=$(jq -r ".${host_platform}" <<<"${manifest}")
|
||||
download_info=$(jq -r --arg p "${host_platform}" '.[$p]' <<<"${manifest}")
|
||||
if [[ "${download_info}" == "null" ]] && [[ "${host_arch}" != "x86_64" ]]; then
|
||||
host_platform="x86_64_${host_os}"
|
||||
download_info=$(jq -r ".${host_platform}" <<<"${manifest}")
|
||||
download_info=$(jq -r --arg p "${host_platform}" '.[$p]' <<<"${manifest}")
|
||||
fi
|
||||
;;
|
||||
*) bail "unsupported OS type '${host_os}' for ${tool}" ;;
|
||||
@@ -327,7 +327,7 @@ read_download_info() {
|
||||
bin_in_archive=()
|
||||
if [[ "${url}" == "null" ]]; then
|
||||
local template
|
||||
template=$(jq -c ".template.${host_platform}" "${manifest_dir}/${tool}.json")
|
||||
template=$(jq -c --arg p "${host_platform}" '.template[$p]' "${manifest_dir}/${tool}.json")
|
||||
template="${template//\$\{version\}/${exact_version}}"
|
||||
url=$(jq -r '.url' <<<"${template}")
|
||||
tmp=$(jq -r '.bin' <<<"${template}")
|
||||
@@ -627,6 +627,15 @@ case "${fallback}" in
|
||||
*) bail "'fallback' input option must be 'none', 'cargo-binstall', or 'cargo-install': '${fallback}'" ;;
|
||||
esac
|
||||
|
||||
# Unlike gh command, cargo-binstall reads GITHUB_TOKEN first via cli parser, and then reads GH_TOKEN.
|
||||
# https://github.com/cargo-bins/cargo-binstall/blob/v1.17.9/crates/bin/src/args.rs#L704
|
||||
token="${GITHUB_TOKEN:-"${GH_TOKEN:-"${DEFAULT_GITHUB_TOKEN:-}"}"}"
|
||||
# This prevents tokens from being displayed to subprocesses via environment variables.
|
||||
# Since the tokens remain in the parent process's environment variables, and since unset may not
|
||||
# immediately cleanse memory, setting `fallback: none` (which prevents the tokens from being set
|
||||
# in the first place) remains the best practice from a security standpoint, as readme says.
|
||||
unset GITHUB_TOKEN GH_TOKEN DEFAULT_GITHUB_TOKEN
|
||||
|
||||
case "${host_os}" in
|
||||
linux)
|
||||
if ! type -P jq >/dev/null || ! type -P curl >/dev/null || ! type -P tar >/dev/null; then
|
||||
@@ -917,13 +926,15 @@ if [[ ${#unsupported_tools[@]} -gt 0 ]]; then
|
||||
case "${fallback}" in
|
||||
cargo-binstall)
|
||||
install_cargo_binstall
|
||||
if [[ -z "${GITHUB_TOKEN:-}" ]] && [[ -n "${DEFAULT_GITHUB_TOKEN:-}" ]]; then
|
||||
export GITHUB_TOKEN="${DEFAULT_GITHUB_TOKEN}"
|
||||
fi
|
||||
# By default, cargo-binstall enforce downloads over secure transports only.
|
||||
# As a result, http will be disabled, and it will also set
|
||||
# min tls version to be 1.2
|
||||
cargo-binstall binstall --force --no-confirm --locked "${unsupported_tools[@]}"
|
||||
binstall_args=(--force --no-confirm --locked "${unsupported_tools[@]}")
|
||||
if [[ -n "${token}" ]]; then
|
||||
cargo-binstall binstall --github-token "${token}" "${binstall_args[@]}"
|
||||
else
|
||||
cargo-binstall binstall "${binstall_args[@]}"
|
||||
fi
|
||||
if ! type -P cargo >/dev/null; then
|
||||
_bin_dir=$(canonicalize_windows_path "${home}/.cargo/bin")
|
||||
# TODO: avoid this when already added
|
||||
|
||||
38
manifests/biome.json
generated
38
manifests/biome.json
generated
@@ -11,6 +11,44 @@
|
||||
"2.4": {
|
||||
"version": "2.4.10"
|
||||
},
|
||||
"2.4.11": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-linux-x64-musl",
|
||||
"etag": "0x8DE9656A2924E77",
|
||||
"hash": "f10d041ae17c8d4d659950941fec862dc342945ab3af811e3e90bd93770c08e6",
|
||||
"bin": "biome"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-darwin-x64",
|
||||
"etag": "0x8DE9656A24F9CFE",
|
||||
"hash": "9069156955cfd53efc273cfcd4ece85a7af2ed715d20a8717a63bde3e05b5a40",
|
||||
"bin": "biome"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-win32-x64.exe",
|
||||
"etag": "0x8DE9656A2C64373",
|
||||
"hash": "6c626fdf119215234cbe51455b07995eb67b24ada85819d9273a02b7c6770fbd",
|
||||
"bin": "biome.exe"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-linux-arm64-musl",
|
||||
"etag": "0x8DE9656A253B713",
|
||||
"hash": "f58e2abd4fa737b90d1d9a4f2a3e87af1583df064b9ec14a10b34f4f34f61d88",
|
||||
"bin": "biome"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-darwin-arm64",
|
||||
"etag": "0x8DE9656A22891CD",
|
||||
"hash": "9de8fa513c170b33933f397e4906eb4f8af21890aa5f36a36db22df3d9ed1978",
|
||||
"bin": "biome"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.11/biome-win32-arm64.exe",
|
||||
"etag": "0x8DE9656A280D5F1",
|
||||
"hash": "a0b928f3894dfaea97906974e30785948e44e9fbab8b3d86897fb7da55ab36a9",
|
||||
"bin": "biome.exe"
|
||||
}
|
||||
},
|
||||
"2.4.10": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.4.10/biome-linux-x64-musl",
|
||||
|
||||
6
manifests/cosign.json
generated
6
manifests/cosign.json
generated
@@ -28,13 +28,13 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/sigstore/cosign/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "3.0.5"
|
||||
"version": "3.0.6"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.0.5"
|
||||
"version": "3.0.6"
|
||||
},
|
||||
"3.0": {
|
||||
"version": "3.0.5"
|
||||
"version": "3.0.6"
|
||||
},
|
||||
"3.0.6": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
31
manifests/dprint.json
generated
31
manifests/dprint.json
generated
@@ -28,7 +28,36 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "0.53.2"
|
||||
"version": "0.54.0"
|
||||
},
|
||||
"0.54": {
|
||||
"version": "0.54.0"
|
||||
},
|
||||
"0.54.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE95A483BDB8E6",
|
||||
"hash": "859ae94e596105201faa59a3fb4bedc8316e226e3e154ae410f9373461e1e41c"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE95A483D34B85",
|
||||
"hash": "fdbffa16cf0890ca30e958ffdabe7748e733867651a438ede1501f0e1a7b5e91"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE95A483BAAF19",
|
||||
"hash": "3fd881acaf7fd4fbc5d07c3030ce79b965a4cb7128fe0eb1ebe725188ccd2715"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE95A483BBBF52",
|
||||
"hash": "9a66b5931ca30402a3dd2933c432c6b6316eedd08037ab0aeb8d24cd17b2a301"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE95A483BA138A",
|
||||
"hash": "1d6a8fb14d66cba0f049738edd4ab3b1afc1de6d936cd32e483e33284cfd1ade"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE95A483C85B52",
|
||||
"hash": "9aa7df605ade001ada4154e24f2806527d0be45ba0f465422efa62a23316f305"
|
||||
}
|
||||
},
|
||||
"0.53": {
|
||||
"version": "0.53.2"
|
||||
|
||||
22
manifests/gungraun-runner.json
generated
22
manifests/gungraun-runner.json
generated
@@ -26,6 +26,28 @@
|
||||
"latest": {
|
||||
"version": "0.17.2"
|
||||
},
|
||||
"0.18.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE9642F0CF107C",
|
||||
"hash": "6bc46e9b0b9df0a13897c277c9c529488e1746b5f6ad6fa33b966f4f395bec28"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DE9642F5351AC4",
|
||||
"hash": "9ffe79ab8523c1ada9a52c1352333d6499cd26fabb60d9ba6a8eeb1ab4102dc2"
|
||||
},
|
||||
"powerpc64le_linux_gnu": {
|
||||
"etag": "0x8DE9642F38861F9",
|
||||
"hash": "6b2ddd799fec1517aee95fd03eb021e125b46690c679d29d54824b87b97c61fe"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE9642EC2FBFDC",
|
||||
"hash": "8bf2263ac4a41cb9132df94d4e570eb3e310e2afc970ff6581ccc6a32fc66c22"
|
||||
},
|
||||
"s390x_linux_gnu": {
|
||||
"etag": "0x8DE9642EE460E79",
|
||||
"hash": "e540f51a2621fe1a69cf9e7d0acf97d0e1c8b11866ba1ef08564614c496c5259"
|
||||
}
|
||||
},
|
||||
"0.17": {
|
||||
"version": "0.17.2"
|
||||
},
|
||||
|
||||
25
manifests/martin.json
generated
25
manifests/martin.json
generated
@@ -32,10 +32,31 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/maplibre/martin/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/maplibre/martin/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "1.4.0"
|
||||
"version": "1.5.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.4.0"
|
||||
"version": "1.5.0"
|
||||
},
|
||||
"1.5": {
|
||||
"version": "1.5.0"
|
||||
},
|
||||
"1.5.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE9606A16881B6",
|
||||
"hash": "29cebebba0bc6bc8cd3f089d4c8e06abecef1a1754b9c816ef4dbf6ae41b6f63"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE9606A093D120",
|
||||
"hash": "c50589f9fd2ad018adb3c085b9f31fe73b9b5587949cc04f6ae37c18cd0cc390"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE9606A0994946",
|
||||
"hash": "11b9305afc987e71d0edc0a7454d1b3f9a7b42d3b2603870729c21bba924ad20"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE9606A08CFAF6",
|
||||
"hash": "c52a2851aae177cfdcd2adf019e391ac4512eaa1566c4f7de3bd4a4746bb60d7"
|
||||
}
|
||||
},
|
||||
"1.4": {
|
||||
"version": "1.4.0"
|
||||
|
||||
58
manifests/mise.json
generated
58
manifests/mise.json
generated
@@ -28,13 +28,65 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/jdx/mise/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "2026.4.5"
|
||||
"version": "2026.4.6"
|
||||
},
|
||||
"2026": {
|
||||
"version": "2026.4.5"
|
||||
"version": "2026.4.6"
|
||||
},
|
||||
"2026.4": {
|
||||
"version": "2026.4.5"
|
||||
"version": "2026.4.6"
|
||||
},
|
||||
"2026.4.7": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE962B67CA1C09",
|
||||
"hash": "494865907326bb864a31e4ca22bf6ed7572ceedea14ff8e82c783f604551dde3"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE962B6A6B1EA5",
|
||||
"hash": "fdffa9feeba79fd0d87494fa61af0d8b32b9e54c8200d5157a0365302ad531c1"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE962B6B48C5C8",
|
||||
"hash": "86ee64104d1d4202cc2347a325ed22b53fe28462519079b005d95a144de73933"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE962B6482E5D0",
|
||||
"hash": "58040a3fd0d8ac18ce99e7e5ebe79be50d49dc8a5a57f7e48441ab42c083cde0"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE962B698763DB",
|
||||
"hash": "311c41004d74519f97d180f404a623f8945366d9747d3c7b1c545a291d2c168e"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE962B6AD54FFD",
|
||||
"hash": "98ab2597f455e8e114445e30547a89007188cb57a4a2d3211cd7ae159cd2f72a"
|
||||
}
|
||||
},
|
||||
"2026.4.6": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE9505278268D0",
|
||||
"hash": "a99603adb9b185da342a1ff81e93390c42e6a90737086d130e929ddc6af774cc"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE950529B1EF40",
|
||||
"hash": "8c38ef6bdbe87a007d4e428d3974ab4e7b657c5dcf61d288edb69882070e2d0b"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE95052A93FE38",
|
||||
"hash": "1ccca1e747e1e5ddf0621b1a19cc02bd33f740542f0c3e5481ffa26062c05d01"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE950524131738",
|
||||
"hash": "bf5877c2ff7fd734f22ab1ed055f557d4bc865a54810fb59c3ebb175b238e6e7"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE95052911F638",
|
||||
"hash": "3f3e5584a9d563b62d07e0422100be5a9f7f56f0fc5555d4f0a17c3661757107"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE95052A84A627",
|
||||
"hash": "a2bb99b42571471a6bc5ff333a50841b3c8965db79e1a79644082cc7c05904a6"
|
||||
}
|
||||
},
|
||||
"2026.4.5": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
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.73.3"
|
||||
"version": "1.73.4"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.73.3"
|
||||
"version": "1.73.4"
|
||||
},
|
||||
"1.73": {
|
||||
"version": "1.73.3"
|
||||
"version": "1.73.4"
|
||||
},
|
||||
"1.73.4": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE9573A5AC74E7",
|
||||
"hash": "abc0e6e0f275a469d94645f7ef92c7c7673eed20b6558acec5ff48b74641213c"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE957478A87CEE",
|
||||
"hash": "4ef15279d857372f3ff84b967ad68fc1c3b113d631effb9c09a18e40f8a78fa7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE9574B24AE740",
|
||||
"hash": "4ad32977eec7f77aef98c035865c333f2005be2478dd6b04c9456d1df7b326bf"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE9573BDB7D24C",
|
||||
"hash": "00c9e230f0004ab5e3b45c00edf7238ba5bff5fc7ea80f5a86a7da5568de6d1c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE9574816FB321",
|
||||
"hash": "8cfffacc3ce732b1960645a2f7d2ce97c2ac9ba4f2221c13af6378c199a078f9"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE9574BA07586F",
|
||||
"hash": "db0cbec2eee4e852762d65afc5fe1c06cee5ba246c0ea8b765f4a5cf2aaa009a"
|
||||
}
|
||||
},
|
||||
"1.73.3": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
6
manifests/shfmt.json
generated
6
manifests/shfmt.json
generated
@@ -19,13 +19,13 @@
|
||||
},
|
||||
"license_markdown": "[BSD-3-Clause](https://github.com/mvdan/sh/blob/master/LICENSE)",
|
||||
"latest": {
|
||||
"version": "3.13.0"
|
||||
"version": "3.13.1"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.13.0"
|
||||
"version": "3.13.1"
|
||||
},
|
||||
"3.13": {
|
||||
"version": "3.13.0"
|
||||
"version": "3.13.1"
|
||||
},
|
||||
"3.13.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
40
manifests/syft.json
generated
40
manifests/syft.json
generated
@@ -36,13 +36,47 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.42.3"
|
||||
"version": "1.42.4"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.42.3"
|
||||
"version": "1.42.4"
|
||||
},
|
||||
"1.42": {
|
||||
"version": "1.42.3"
|
||||
"version": "1.42.4"
|
||||
},
|
||||
"1.42.4": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE95AFF8B22211",
|
||||
"hash": "590650c2743b83f327d1bf9bec64f6f83b7fec504187bb84f500c862bf8f2a0f"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE95AFF8BA2F4D",
|
||||
"hash": "4a14affad1b90f0bfa38fdb784279f01598b6099df40686391d814620e9de226"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE95AFF8B46965",
|
||||
"hash": "a712f912e8fc83ce2bf6a7cea213c2d5185778d66ea2e07d42c767817f77e381"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE95AFF85E45C7",
|
||||
"hash": "5029bad1ed372649527b1e443cbceef7f5d6ae1cfe52c16e721559f94267128b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE95AFF7CD5703",
|
||||
"hash": "0797b64cf8841c904682e6007a695f9cd3e72103f064dd286723c0a56a2273e2"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE95AFF8296773",
|
||||
"hash": "6596227b24729d54e727917d5d59e3a6a49fc59cd505aae5a6d7eb630d871e82"
|
||||
},
|
||||
"powerpc64le_linux_musl": {
|
||||
"etag": "0x8DE95AFF78EE682",
|
||||
"hash": "9a54460ae5f6c3484c6f9913187306e4996ba21267e185434783872856dc836d"
|
||||
},
|
||||
"s390x_linux_musl": {
|
||||
"etag": "0x8DE95AFF8AF65FA",
|
||||
"hash": "8b2d019bbed41cc991be32f5c2a630b3dfb8cd76f8c45d815f18c4afd56b280e"
|
||||
}
|
||||
},
|
||||
"1.42.3": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
30
manifests/tombi.json
generated
30
manifests/tombi.json
generated
@@ -22,10 +22,36 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/tombi-toml/tombi/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "0.9.15"
|
||||
"version": "0.9.16"
|
||||
},
|
||||
"0.9": {
|
||||
"version": "0.9.15"
|
||||
"version": "0.9.16"
|
||||
},
|
||||
"0.9.16": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE95275403B11A",
|
||||
"hash": "93f0b5febc18f60c172a7d4008325183f6b90d3c2a2454e27bbc7aaa662c25de"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE952753DFFD89",
|
||||
"hash": "847a696cf655e642d7402560badde15c6fbb2b34a7e21fa33ba2614d74816a4e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE952754763D72",
|
||||
"hash": "a08e144e55fa8b998e46bf2923c9d8fae1f454771c6411fd213febd9e182ae48"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE952754627D8A",
|
||||
"hash": "0549ee34fbbaf462ae8b17c41fc30dbfdada8e2adadc058b1f92d6d0070ca70e"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE952753D14101",
|
||||
"hash": "4a33dff421e644c03708b26cf73b235f7f146ef6af9ba631b66aa97cb10244ae"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE952753D6E00A",
|
||||
"hash": "1002d0cff2b146eb70d6670e20f8417a31a15a620755ec7b182f35b4f8816f68"
|
||||
}
|
||||
},
|
||||
"0.9.15": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
118
manifests/uv.json
generated
118
manifests/uv.json
generated
@@ -69,10 +69,124 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/astral-sh/uv/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/astral-sh/uv/blob/main/LICENSE-MIT)",
|
||||
"latest": {
|
||||
"version": "0.11.3"
|
||||
"version": "0.11.5"
|
||||
},
|
||||
"0.11": {
|
||||
"version": "0.11.3"
|
||||
"version": "0.11.5"
|
||||
},
|
||||
"0.11.6": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE963141E5ABBF",
|
||||
"hash": "aa342a53abe42364093506d7704214d2cdca30b916843e520bc67759a5d20132"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE96314155CD4C",
|
||||
"hash": "8e0ed5035eaa28c7c8cd2a46b5b9a05bfff1ef01dbdc090a010eb8fdf193a457"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE9631418497F4",
|
||||
"hash": "99aa60edd017a256dbf378f372d1cff3292dbc6696e0ea01716d9158d773ab77"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE96313E817163",
|
||||
"hash": "d14ebd6f200047264152daaf97b8bd36c7885a5033e9e8bba8366cb0049c0d00"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE96313DD22057",
|
||||
"hash": "4b69a4e366ec38cd5f305707de95e12951181c448679a00dce2a78868dfc9f5b"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE96313E396EC1",
|
||||
"hash": "bee7b25a7a999f17291810242b47565c3ef2b9205651a0fd02a086f261a7e167"
|
||||
},
|
||||
"powerpc64le_linux_gnu": {
|
||||
"etag": "0x8DE9631407C196A",
|
||||
"hash": "153397d3d82e45e68fb1f4a40ee9898245ec8ed86fd03fcaacaf6e793316acf7"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE963140D2B1B5",
|
||||
"hash": "0e3ead8667b51b07b5fb9d114bcd1914a5fe3159e6959a584dc2f89c6724e123"
|
||||
},
|
||||
"s390x_linux_gnu": {
|
||||
"etag": "0x8DE963140E38EA9",
|
||||
"hash": "6e3d4338da2db2c63326721f1eb3b4f32d9bde24aeff11208d397e1aeba8678e"
|
||||
}
|
||||
},
|
||||
"0.11.5": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE95AE7EB11D35",
|
||||
"hash": "ee8a52743ce3979e52872b49c5e58ffa541048cb95132142bff23fe5608d73ea"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE95AE7DE783E0",
|
||||
"hash": "b8964bed538143f9016d807e421e28f0237a29589851fc79e8159751ac64779a"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE95AE7E0A74F6",
|
||||
"hash": "3fa5b6ea9de9256a035e0471f5ef0bb5d95344659723d6eb063e27c76431515d"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE95AE7B8822B5",
|
||||
"hash": "d73860013061c62d6a89f3370527d4c407214038af331147773ae2fd8f6394c1"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE95AE7A8FE593",
|
||||
"hash": "470993e87503874c7c48861daa308b48a7c367e117235bbecf19368b9fdd35b2"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE95AE7AE8EC23",
|
||||
"hash": "9b9b99a985cccf249225aaad76412823e9d9736d605dc2252151172a7f6ab3db"
|
||||
},
|
||||
"powerpc64le_linux_gnu": {
|
||||
"etag": "0x8DE95AE7D14317E",
|
||||
"hash": "c4dabaaa36a13989ab04389263064ca5c27093eb2e7c851ab62d50b6312d9800"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE95AE7D2FD7C9",
|
||||
"hash": "6ae3ec3cf1aab72604bc6aa8486faf4b473066422c49d9c42ea8366ff3039de4"
|
||||
},
|
||||
"s390x_linux_gnu": {
|
||||
"etag": "0x8DE95AE7E0B8533",
|
||||
"hash": "1309f1e462462dab2da6a55c37012a228d1c06a55c5b43f8ef901ba1599d9e12"
|
||||
}
|
||||
},
|
||||
"0.11.4": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE9512CAD2F111",
|
||||
"hash": "36ce1c5d8997db9b6a24d0f41646d5509b6d1d8b9448c7325f8248a6ea5d4b00"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE9512CA554DA7",
|
||||
"hash": "c326edaf3fd492f53d1c58777f3459c0d87bf9dae8d89e80aec4b0da6622dcf3"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE9512CAABBF06",
|
||||
"hash": "26d84455a40b0272b2ab4785cad298ff2c89cd0765b482e9f85b5a1bd880a863"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE9512C842305D",
|
||||
"hash": "a02ec7667d7bb1d33cdb7e1de22f7e4242967e3df7e350bac6212515e3bce8ac"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE9512C7959B5C",
|
||||
"hash": "9b9cb6c6f58c3246dbf3351ed4e97c500bc3266f5f237d2fd620b66e1c31dc56"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE9512C7C21EA2",
|
||||
"hash": "708b1c210109e50ff520bcd9b6d29cbd8cee584bb55e84d3d1941bf75ab0893d"
|
||||
},
|
||||
"powerpc64le_linux_gnu": {
|
||||
"etag": "0x8DE9512C9A51354",
|
||||
"hash": "3ddb764538a5dcb4967d7375fde193ce5391e37ddd4d1242012d04cf3848479f"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE9512C9D2A6CB",
|
||||
"hash": "93db93607a824d677c47003ee828936913cfdeb2c871bb34cd79c3ec4481e2b1"
|
||||
},
|
||||
"s390x_linux_gnu": {
|
||||
"etag": "0x8DE9512CA14BCB1",
|
||||
"hash": "07361e1fb32e870841a27d3d7b0b20c4a81e0cc25eeb8b9115425bfd227d2d05"
|
||||
}
|
||||
},
|
||||
"0.11.3": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
34
manifests/wasmtime.json
generated
34
manifests/wasmtime.json
generated
@@ -44,6 +44,40 @@
|
||||
"43.0": {
|
||||
"version": "43.0.0"
|
||||
},
|
||||
"43.0.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DE96545D60CB65",
|
||||
"hash": "9f3cf977fc29e2ccab2d198435265b066dce3d608fc6692d700ed1b9b74c35a1"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE96545D950E1A",
|
||||
"hash": "c6ac5b23b52cb78ea7759ce9bd33985c515f2b620b9385021e32e4f51cdc0aa7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE96545EE43160",
|
||||
"hash": "cb627546a9f0f2f24f3d68fce34b40f13d6b1abe4b70f3afde0038ad9fe4e6ea"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DE96545A4D6347",
|
||||
"hash": "dbf36d4e9108df377ddfb88f2d8db4e07efce9726b68da53ae78ed5579293923"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE96545A9C6308",
|
||||
"hash": "c93751ee2f0ecd34c0e799c6261b06c6efeb3c35f2bdb884569ba37931144980"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE96545AFDC4A6",
|
||||
"hash": "0e8dc6155bda65e780279853af147b312fe62673e745a81a413b7a95be76c7ae"
|
||||
},
|
||||
"riscv64_linux_gnu": {
|
||||
"etag": "0x8DE96545C448CDB",
|
||||
"hash": "8ba5d2c2a9b613de09933998a91cae40a47fde78892f29144358f35ccf7e57c0"
|
||||
},
|
||||
"s390x_linux_gnu": {
|
||||
"etag": "0x8DE96545C86C9A4",
|
||||
"hash": "d19c7662bf478d46c235442a2ea2f230b6cb1d98bf99dfe4fc8f8892d43a8fdf"
|
||||
}
|
||||
},
|
||||
"43.0.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DE864C1EE9A6EC",
|
||||
|
||||
@@ -147,12 +147,12 @@ for manifest in tools/codegen/base/*.json; do
|
||||
fi
|
||||
case "${host_os}" in
|
||||
linux*)
|
||||
if [[ "${host_arch}" != "x86_64" ]] && [[ "$(jq -r ".platform.${host_arch}_${host_os}_gnu" "${manifest}")" == "null" ]] && [[ "$(jq -r ".platform.${host_arch}_${host_os}_musl" "${manifest}")" == "null" ]]; then
|
||||
if [[ "${host_arch}" != "x86_64" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_gnu" '.platform[$p]' "${manifest}")" == "null" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_musl" '.platform[$p]' "${manifest}")" == "null" ]]; then
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "$(jq -r ".platform.x86_64_${host_os}" "${manifest}")" == "null" ]] && [[ "$(jq -r ".platform.${host_arch}_${host_os}" "${manifest}")" == "null" ]]; then
|
||||
if [[ "$(jq -r --arg p "x86_64_${host_os}" '.platform[$p]' "${manifest}")" == "null" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}" '.platform[$p]' "${manifest}")" == "null" ]]; then
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"asset_name": "${package}-${version}-${rust_target}.tar.gz",
|
||||
"bin": "${package}-${version}-${rust_target}/${package}${exe}",
|
||||
"version_range": ">= 0.1.0",
|
||||
"broken": ["0.7.0"],
|
||||
"broken": ["0.7.0", "0.8.0"],
|
||||
"platform": {
|
||||
"x86_64_linux_musl": {},
|
||||
"x86_64_macos": {},
|
||||
|
||||
@@ -11,11 +11,6 @@ cd -- "$(dirname -- "$0")"/..
|
||||
# ./tools/manifest.sh [PACKAGE [VERSION_REQ]]
|
||||
# ./tools/manifest.sh full
|
||||
|
||||
if [[ -n "${GITHUB_ACTIONS:-}" ]] && ! type -P cosign; then
|
||||
go install github.com/sigstore/cosign/v3/cmd/cosign@latest
|
||||
sudo mv -- ~/go/bin/cosign /usr/local/bin
|
||||
fi
|
||||
|
||||
if [[ $# -eq 1 ]] && [[ "$1" == "full" ]]; then
|
||||
for manifest in tools/codegen/base/*.json; do
|
||||
package="${manifest##*/}"
|
||||
|
||||
Reference in New Issue
Block a user