Compare commits

...

45 Commits

Author SHA1 Message Date
Taiki Endo
f0d0def1e2 Release 2.17.2 2023-08-27 15:22:32 +09:00
Taiki Endo
2b66e0090b Update cargo-udeps@latest to 0.1.42 (#206) 2023-08-27 06:16:18 +00:00
Taiki Endo
ba7482c6af Release 2.17.1 2023-08-26 10:31:08 +09:00
Taiki Endo
425876e44a Update manifest (#205) 2023-08-26 11:05:19 +10:00
Taiki Endo
a5a8275f14 Release 2.17.0 2023-08-25 21:19:57 +09:00
Taiki Endo
38b64619b5 ci: Add macOS 13 to test 2023-08-25 21:18:31 +09:00
Taiki Endo
006e1318d7 Update cspell dictionary 2023-08-25 21:17:08 +09:00
Taiki Endo
942c7835ab Update cargo-binstall@latest to 1.3.0 (#204) 2023-08-25 12:16:33 +00:00
Taiki Endo
bca437466a Release 2.16.5 2023-08-25 04:19:58 +09:00
Taiki Endo
1981e18081 Update wasmtime@latest to 12.0.1 2023-08-25 04:19:36 +09:00
Taiki Endo
fe04be912f Update cargo-llvm-cov@latest to 0.5.31 2023-08-25 04:19:36 +09:00
Taiki Endo
f1e481e035 Release 2.16.4 2023-08-24 00:07:41 +09:00
Taiki Endo
1d42c62e8a Update cspell dictionary 2023-08-24 00:07:27 +09:00
Taiki Endo
d4d12f0d19 Update cargo-llvm-cov@latest to 0.5.30 2023-08-24 00:01:40 +09:00
Taiki Endo
8a5a554374 Release 2.16.3 2023-08-23 22:16:21 +09:00
Taiki Endo
cf629cb4fe Update cargo-llvm-cov@latest to 0.5.29 (#201) 2023-08-23 23:14:53 +10:00
Taiki Endo
0c6fcb3fbd Release 2.16.2 2023-08-23 02:06:56 +09:00
Taiki Endo
82e8fed825 Update cargo-llvm-cov@latest to 0.5.28 2023-08-23 02:03:46 +09:00
Taiki Endo
2b8e18789e Release 2.16.1 2023-08-22 21:08:53 +09:00
Taiki Endo
b90e19d688 Update wasmtime@latest to 12.0.0 (#198) 2023-08-22 10:39:42 +10:00
Taiki Endo
1f490d2b6e tidy: Check file permissions 2023-08-19 15:58:26 +09:00
Taiki Endo
c9ba9d12d0 Release 2.16.0 2023-08-19 09:45:18 +09:00
Taiki Endo
0dbdc190f4 Update changelog 2023-08-19 09:45:06 +09:00
Tyson Nottingham
8aa60332b7 Add support for cargo-machete (#196) 2023-08-19 09:43:05 +09:00
Taiki Endo
85a0ab9568 Release 2.15.6 2023-08-19 09:35:43 +09:00
Taiki Endo
ba31d2a9d5 Update protoc@latest to 3.24.1 (#197) 2023-08-19 00:18:35 +00:00
Taiki Endo
ec1353d184 Release 2.15.5 2023-08-18 10:51:41 +09:00
Taiki Endo
1255c6765d Update syft@latest to 0.87.1 (#195) 2023-08-18 10:55:22 +10:00
Taiki Endo
5265bea15b Release 2.15.4 2023-08-15 11:58:16 +09:00
Taiki Endo
1ecea869bc Update syft@latest to 0.87.0 (#194) 2023-08-15 07:38:17 +10:00
Taiki Endo
dd39e1fae4 Release 2.15.3 2023-08-15 01:15:40 +09:00
Taiki Endo
c6d4b612a3 Update cargo-minimal-versions@latest to 0.1.14 2023-08-15 01:13:02 +09:00
Taiki Endo
1c114c9abb Update cargo-llvm-cov@latest to 0.5.27 2023-08-15 01:13:02 +09:00
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
20 changed files with 635 additions and 30 deletions

View File

@@ -6,15 +6,17 @@ taiki
// tool name and its configs or options // tool name and its configs or options
asan asan
cdylib
cflags cflags
clippy clippy
codegen codegen
cxxflags cxxflags
dylib
exitcode exitcode
miri miri
miriflags miriflags
msan msan
retag rlib
rustc rustc
rustdoc rustdoc
rustdocflags rustdocflags
@@ -22,11 +24,13 @@ rustflags
rustfmt rustfmt
rustsec rustsec
rustup rustup
staticlib
tsan
valgrind valgrind
xcompile xcompile
Zmiri Zmiri
// Rust target triple // Rust target triple/spec
aarch aarch
amdgpu amdgpu
androideabi androideabi
@@ -53,6 +57,7 @@ gnuspe
gnux gnux
illumos illumos
imac imac
libnx
loongarch loongarch
macabi macabi
mipsel mipsel
@@ -61,14 +66,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

@@ -49,6 +49,7 @@ jobs:
tool: major tool: major
- os: macos-11 - os: macos-11
- os: macos-12 - os: macos-12
- os: macos-13
- os: windows-2019 - os: windows-2019
- os: windows-2022 - os: windows-2022
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View File

@@ -10,6 +10,84 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased] ## [Unreleased]
## [2.17.2] - 2023-08-27
- Update `cargo-udeps@latest` to 0.1.42.
## [2.17.1] - 2023-08-26
- Update `syft@latest` to 0.88.0.
- Update `protoc@latest` to 3.24.2.
## [2.17.0] - 2023-08-25
- Update `cargo-binstall@latest` to 1.3.0.
## [2.16.5] - 2023-08-24
- Update `wasmtime@latest` to 12.0.1.
- Update `cargo-llvm-cov@latest` to 0.5.31.
## [2.16.4] - 2023-08-23
- Update `cargo-llvm-cov@latest` to 0.5.30.
## [2.16.3] - 2023-08-23
- Update `cargo-llvm-cov@latest` to 0.5.29.
## [2.16.2] - 2023-08-22
- Update `cargo-llvm-cov@latest` to 0.5.28.
## [2.16.1] - 2023-08-22
- Update `wasmtime@latest` to 12.0.0.
## [2.16.0] - 2023-08-19
- Support `cargo-machete`. ([#196](https://github.com/taiki-e/install-action/pull/196), thanks @tgnottingham)
## [2.15.6] - 2023-08-19
- Update `protoc@latest` to 3.24.1.
## [2.15.5] - 2023-08-18
- Update `syft@latest` to 0.87.1.
## [2.15.4] - 2023-08-15
- Update `syft@latest` to 0.87.0.
## [2.15.3] - 2023-08-14
- Update `cargo-minimal-versions@latest` to 0.1.14.
- Update `cargo-llvm-cov@latest` to 0.5.27.
## [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 +1127,24 @@ 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.17.2...HEAD
[2.17.2]: https://github.com/taiki-e/install-action/compare/v2.17.1...v2.17.2
[2.17.1]: https://github.com/taiki-e/install-action/compare/v2.17.0...v2.17.1
[2.17.0]: https://github.com/taiki-e/install-action/compare/v2.16.5...v2.17.0
[2.16.5]: https://github.com/taiki-e/install-action/compare/v2.16.4...v2.16.5
[2.16.4]: https://github.com/taiki-e/install-action/compare/v2.16.3...v2.16.4
[2.16.3]: https://github.com/taiki-e/install-action/compare/v2.16.2...v2.16.3
[2.16.2]: https://github.com/taiki-e/install-action/compare/v2.16.1...v2.16.2
[2.16.1]: https://github.com/taiki-e/install-action/compare/v2.16.0...v2.16.1
[2.16.0]: https://github.com/taiki-e/install-action/compare/v2.15.6...v2.16.0
[2.15.6]: https://github.com/taiki-e/install-action/compare/v2.15.5...v2.15.6
[2.15.5]: https://github.com/taiki-e/install-action/compare/v2.15.4...v2.15.5
[2.15.4]: https://github.com/taiki-e/install-action/compare/v2.15.3...v2.15.4
[2.15.3]: https://github.com/taiki-e/install-action/compare/v2.15.2...v2.15.3
[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

@@ -87,6 +87,7 @@ https://spdx.org/licenses
| [**cargo-dinghy**](https://github.com/sonos/dinghy) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sonos/dinghy/releases) | Linux, macOS | [Apache-2.0](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-MIT) | | [**cargo-dinghy**](https://github.com/sonos/dinghy) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sonos/dinghy/releases) | Linux, macOS | [Apache-2.0](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-MIT) |
| [**cargo-hack**](https://github.com/taiki-e/cargo-hack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-hack/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-MIT) | | [**cargo-hack**](https://github.com/taiki-e/cargo-hack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-hack/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/HEAD/LICENSE-MIT) |
| [**cargo-llvm-cov**](https://github.com/taiki-e/cargo-llvm-cov) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-llvm-cov/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-MIT) | | [**cargo-llvm-cov**](https://github.com/taiki-e/cargo-llvm-cov) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-llvm-cov/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-llvm-cov/blob/HEAD/LICENSE-MIT) |
| [**cargo-machete**](https://github.com/bnjbvr/cargo-machete) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bnjbvr/cargo-machete/releases) | Linux, macOS, Windows | [MIT](https://github.com/bnjbvr/cargo-machete/blob/HEAD/LICENSE.md) |
| [**cargo-make**](https://github.com/sagiegurari/cargo-make) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sagiegurari/cargo-make/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE) | | [**cargo-make**](https://github.com/sagiegurari/cargo-make) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sagiegurari/cargo-make/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/sagiegurari/cargo-make/blob/master/LICENSE) |
| [**cargo-minimal-versions**](https://github.com/taiki-e/cargo-minimal-versions) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-minimal-versions/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/HEAD/LICENSE-MIT) | | [**cargo-minimal-versions**](https://github.com/taiki-e/cargo-minimal-versions) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-minimal-versions/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-minimal-versions/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-minimal-versions/blob/HEAD/LICENSE-MIT) |
| [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-MIT) | | [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-MIT) |

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.3.0"
}, },
"1.1.2": { "1.3.0": {
"x86_64_linux_musl": { "x86_64_linux_musl": {
"checksum": "a77a735455c4fd379d7965184086fa5b1a72f9f0246a5f6e6fd79ae5362bdc39" "checksum": "c6b61f091191e0444f1a503ac8fa8ce53ae7cf77c9472d9e725e9bae099f36d6"
}, },
"x86_64_macos": { "x86_64_macos": {
"checksum": "27e688f0371a4f049b8c69d4fc73cc6986f5e4cfce78b9b150fd79a1c4d1e890" "checksum": "fb4feeb108fb1133efa402677d202dffcd9dff7956ebae645a442fce0dfd923a"
}, },
"x86_64_windows": { "x86_64_windows": {
"checksum": "f98e0e29be8f0ce5563de76032ec5daf604edda492ee33aed69a88136d06b374" "checksum": "14fac83eb6f03159c4b495a0dc8bb338d88b0b3139d45a2fe1be1b0cc5259186"
}, },
"aarch64_linux_musl": { "aarch64_linux_musl": {
"checksum": "a8495cd3463fc71be50ab7a6d135007e2356ca528c63c044370110f52f5c5fc9" "checksum": "59183aae6e296cbaef4bae4e74ef0ddbced3cb52cadff236b8b729d1492cde05"
}, },
"aarch64_macos": { "aarch64_macos": {
"checksum": "a27733cb48b3705c7df8b86224b5f97f24aef4a5ffca851cb948413207e9ecff" "checksum": "fbfeab286b70b4874563dbaa3630379ee5f4020562d00f67b116baee0ebc83eb"
}, },
"aarch64_windows": { "aarch64_windows": {
"checksum": "dd775c2a9317e59b3583303a2ad5608cfabb3270f03481d09e63cbb371854f2d" "checksum": "30e325fa2da8e47d350237c5bc231f6eb916a3c7202f4b6fc22eeba848a331f1"
} }
} }
} }

View File

@@ -18,10 +18,112 @@
} }
}, },
"latest": { "latest": {
"version": "0.5.25" "version": "0.5.31"
}, },
"0.5": { "0.5": {
"version": "0.5.25" "version": "0.5.31"
},
"0.5.31": {
"x86_64_linux_musl": {
"checksum": "f3814f9446f441c8b280ca93ba5aaf211295a6c8363d52e03d7e700808e6692c"
},
"x86_64_macos": {
"checksum": "9cd643daafc0e868c5c284a68cefb57fbc3bb2a11e8c59e54e738168bc691126"
},
"x86_64_windows": {
"checksum": "392cb5e11eaebd21f7ae865807837d0ab54df86e7ab5f98d3bf5b3cda65fea93"
},
"aarch64_linux_musl": {
"checksum": "0261bbfa0bd49964ca3dbd3041ec3fe5b23efd62b51e794bf516cc964af24079"
},
"aarch64_macos": {
"checksum": "9b7e2cb8fbc6694c2a0fd2abb7867108447c39350ca0fd3688a1b991877dff69"
}
},
"0.5.30": {
"x86_64_linux_musl": {
"checksum": "6731e8d7767145debb825095ab3ab7b9ab25cf7f5a10d22d17c1ef4566fbf249"
},
"x86_64_macos": {
"checksum": "9f634e2bed2dff89ec21177daf8abc1d55c1cca07e73d52f70b796f63a7a3d52"
},
"x86_64_windows": {
"checksum": "60dd774010ae493d17ca052f33d4976f5fe13e462d5b0f731a6c5e39de7475e8"
},
"aarch64_linux_musl": {
"checksum": "87718e164f6206fe4b2cf9b600bcafa1b582f22509820147f1060569e1d9217c"
},
"aarch64_macos": {
"checksum": "58d6295dffafdb920a1096635f9dd5334e5911d3e27cd7bccb0d2d9f99cc86b2"
}
},
"0.5.29": {
"x86_64_linux_musl": {
"checksum": "963ef54eca8296c4c112f0453b9bc36e5103ab1bee2b272abeb1e3474ae4aab8"
},
"x86_64_macos": {
"checksum": "be124539c0a1cc99124b28bda4fa916b5189a706fc975add13c4299f74d31237"
},
"x86_64_windows": {
"checksum": "ac70d70ac560a433276b6037f684044fb66627a8ddab38fe999599951d075845"
},
"aarch64_linux_musl": {
"checksum": "5865b9f03bbc6684731eaaa2ae512bf85dc11ee409e25e77882f4183af1ac03d"
},
"aarch64_macos": {
"checksum": "e05bf23c4d8b0af4b3127e10cf3484ca107e32a808e1cab48e417a14d3542edc"
}
},
"0.5.28": {
"x86_64_linux_musl": {
"checksum": "2e615725d904a4372f8613b8fc2012f392e22e8ce1190b3ad38a63ef25958f9e"
},
"x86_64_macos": {
"checksum": "56cc1e4c456b560608edea0871b7d5c0f6b61abe2eab6dcfdf66ef5dc32849c9"
},
"x86_64_windows": {
"checksum": "60d1c6253a6ac1d33127d22f9520237229422f9c91102e02134d9ec2f40d21fa"
},
"aarch64_linux_musl": {
"checksum": "a944fb36384a8baf9625c26f5232a82e344be38075be9175d50acf1128c418e3"
},
"aarch64_macos": {
"checksum": "035f1d632073d90d4b7986e9392b6659552d83759e154697d6032d2eb5fb7557"
}
},
"0.5.27": {
"x86_64_linux_musl": {
"checksum": "74e554fb069ee0410422158d293f91eddf1f126c59801df5474d79c39c6c63af"
},
"x86_64_macos": {
"checksum": "8f86128ef90534f1ccdb033ec05f37447e5861eceacb12871598a9f7b1097a1d"
},
"x86_64_windows": {
"checksum": "f9f0eadbe325594dc5b45cf226fa8c738635539a6a93fce39783876c0f6b4344"
},
"aarch64_linux_musl": {
"checksum": "20161f2a1f8322ec98281bd818219a9c9cb4744b2dbe95bf073af29b1e47cc83"
},
"aarch64_macos": {
"checksum": "43ad8e2bcd3a394f08c6e1582253ea759b611b0b94774933b7ebcc91a23f82e8"
}
},
"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": {

82
manifests/cargo-machete.json generated Normal file
View File

@@ -0,0 +1,82 @@
{
"rust_crate": "cargo-machete",
"template": null,
"latest": {
"version": "0.5.0"
},
"0.5": {
"version": "0.5.0"
},
"0.5.0": {
"x86_64_linux_musl": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.5.0/cargo-machete-v0.5.0-x86_64-unknown-linux-musl.tar.gz",
"checksum": "1ce5cf9fa24f6861a14318fb96db59011865d0adf979c2240d006407815ca174",
"bin": "cargo-machete-v0.5.0-x86_64-unknown-linux-musl/cargo-machete"
},
"x86_64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.5.0/cargo-machete-v0.5.0-x86_64-apple-darwin.tar.gz",
"checksum": "0550b85e43905fe8bfe0e83cb04d220a80f7aa898aaa3be0fe7a96f8ffd5e7f5",
"bin": "cargo-machete-v0.5.0-x86_64-apple-darwin/cargo-machete"
},
"x86_64_windows": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.5.0/cargo-machete-v0.5.0-x86_64-pc-windows-msvc.tar.gz",
"checksum": "fd5ebb959cc214e8dab2661c65562eb0ec3d1da72d5f5a746f6bb6111b1854f8",
"bin": "cargo-machete-v0.5.0-x86_64-pc-windows-msvc/cargo-machete.exe"
},
"aarch64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.5.0/cargo-machete-v0.5.0-aarch64-apple-darwin.tar.gz",
"checksum": "0386aa9ace17f6d96244b1315f8e996325ab81584a37fd3bc1d300a84455e55f",
"bin": "cargo-machete-v0.5.0-aarch64-apple-darwin/cargo-machete"
}
},
"0.4": {
"version": "0.4.0"
},
"0.4.0": {
"x86_64_linux_musl": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.4.0/cargo-machete-v0.4.0-x86_64-unknown-linux-musl.tar.gz",
"checksum": "92e77b38b91e30e9d7383779b71035c5eebd8d874e1683db19239062d0dd1000",
"bin": "cargo-machete-v0.4.0-x86_64-unknown-linux-musl/cargo-machete"
},
"x86_64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.4.0/cargo-machete-v0.4.0-x86_64-apple-darwin.tar.gz",
"checksum": "db1f036bafc424af7247aa27748c08b3174b85b414e774cad51689f3e01ec64e",
"bin": "cargo-machete-v0.4.0-x86_64-apple-darwin/cargo-machete"
},
"x86_64_windows": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.4.0/cargo-machete-v0.4.0-x86_64-pc-windows-msvc.tar.gz",
"checksum": "0c31b0b4d7a3092dc84375d3993947cbdbf9db7f4d81128aca8a13e268cfe49c",
"bin": "cargo-machete-v0.4.0-x86_64-pc-windows-msvc/cargo-machete.exe"
},
"aarch64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.4.0/cargo-machete-v0.4.0-aarch64-apple-darwin.tar.gz",
"checksum": "5f8a3004642535c78d2b7a49cb0e1fc6287643bc5c52d10e77ae3e79b558e190",
"bin": "cargo-machete-v0.4.0-aarch64-apple-darwin/cargo-machete"
}
},
"0.3": {
"version": "0.3.1"
},
"0.3.1": {
"x86_64_linux_musl": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.3.1/cargo-machete-0.3.1-x86_64-unknown-linux-musl.tar.gz",
"checksum": "d5e15a4c1926296746e0da4d52d8c7203acc1d453c8874c6b6f56a0ae52d4d87",
"bin": "cargo-machete-0.3.1-x86_64-unknown-linux-musl/cargo-machete"
},
"x86_64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.3.1/cargo-machete-0.3.1-x86_64-apple-darwin.tar.gz",
"checksum": "83431f27f24f59d47385497d1a19ebe7c6e32f36dd163d804aa5b1337ca1489b",
"bin": "cargo-machete-0.3.1-x86_64-apple-darwin/cargo-machete"
},
"x86_64_windows": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.3.1/cargo-machete-0.3.1-x86_64-pc-windows-msvc.tar.gz",
"checksum": "28aa111b283bc97f9259b0644b99e0109dde6414a5a672e00347d8cbb6e83804",
"bin": "cargo-machete-0.3.1-x86_64-pc-windows-msvc/cargo-machete.exe"
},
"aarch64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.3.1/cargo-machete-0.3.1-aarch64-apple-darwin.tar.gz",
"checksum": "3ac0cee2102d74c71c831af1c7b8e229b254d3318927baed340728ddc61a10a8",
"bin": "cargo-machete-0.3.1-aarch64-apple-darwin/cargo-machete"
}
}
}

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

@@ -21,10 +21,30 @@
} }
}, },
"latest": { "latest": {
"version": "0.1.13" "version": "0.1.14"
}, },
"0.1": { "0.1": {
"version": "0.1.13" "version": "0.1.14"
},
"0.1.14": {
"x86_64_linux_musl": {
"checksum": "f7284ada48677bef2acb9348a6bfe86705246b57681db178a28634e25c61459d"
},
"x86_64_macos": {
"checksum": "d5121056830331b512e3648f7edca3d86cc84e1621f2d3369d24bef549b2c0f0"
},
"x86_64_windows": {
"checksum": "00a478f561c25db3009d14aba8d0dc8a9e5c9e4f114fd9522a6a09e5de289f55"
},
"aarch64_linux_musl": {
"checksum": "8915fdcde61536c740b885ce83cd2f38a607bf5d7121d8535e8be43bd820b0d6"
},
"aarch64_macos": {
"checksum": "7c737c7ade8f4080d04dacec82b9b94752d3b98fd179a2f51af986fc26d273ba"
},
"aarch64_windows": {
"checksum": "d87025a5881f0c24ecb52061bc0b3c7fca9ca7beee3b75566392dce759ecd7a5"
}
}, },
"0.1.13": { "0.1.13": {
"x86_64_linux_musl": { "x86_64_linux_musl": {

View File

@@ -31,10 +31,30 @@
} }
}, },
"latest": { "latest": {
"version": "0.1.41" "version": "0.1.42"
}, },
"0.1": { "0.1": {
"version": "0.1.41" "version": "0.1.42"
},
"0.1.42": {
"x86_64_linux_musl": {
"checksum": "87566d3ef73ab818f64b078de211772b488a536e502b0cadf52d0aa72c98df4e"
},
"x86_64_macos": {
"checksum": "2bb16d6f823e76bae2c80f19327d80defdbad94da56af215a113fdb1ca2a723b"
},
"x86_64_windows": {
"checksum": "2042993093509a11f4f630f4d3dc0a1d48694f15890d6d2fbe1a8c3b1e1662c7"
},
"aarch64_linux_musl": {
"checksum": "c9d93d0114dda2f4992c284ab61a3be57aee5e02cd9a1a9911cfe7c4a93441f8"
},
"aarch64_macos": {
"checksum": "6ba990fea6cafbb305f731c903903aeaa730dee35afd93b4e9ce0efac1fc5d92"
},
"aarch64_windows": {
"checksum": "9e8fda00a0e495a0ed38a327379076ab305041b2fba65649dcb7dd5821463680"
}
}, },
"0.1.41": { "0.1.41": {
"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": {

73
manifests/protoc.json generated
View File

@@ -2,10 +2,79 @@
"rust_crate": null, "rust_crate": null,
"template": null, "template": null,
"latest": { "latest": {
"version": "3.23.4" "version": "3.24.2"
}, },
"3": { "3": {
"version": "3.23.4" "version": "3.24.2"
},
"3.24": {
"version": "3.24.2"
},
"3.24.2": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protoc-24.2-linux-x86_64.zip",
"checksum": "1bfa935466cf902200cfba0e80d0ac60fec8e4c61aad3debc9fc97a135604b72"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protoc-24.2-osx-x86_64.zip",
"checksum": "335d8623065234734d35b284f36326fbeded4bad88ca20a2df181761f67ca1a5"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protoc-24.2-win64.zip",
"checksum": "e0cbca02e34aca5c76059f8b78000512a83c77409f7137ec6977fc554609f79f"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protoc-24.2-linux-aarch_64.zip",
"checksum": "6593cf94c8d66f367e6526fda6c0ee0fdd442171a9e302c4625e6eb0958c06c1"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protoc-24.2-osx-aarch_64.zip",
"checksum": "9624e53cd0c061afb5eab9e50fc0372383585dcc22bd2b1fb54fd5a4c3294989"
}
},
"3.24.1": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.1/protoc-24.1-linux-x86_64.zip",
"checksum": "1b9d1467205530986d58d24d2b89b9db3c8a9e3c31ed40b2a223913480ca8987"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.1/protoc-24.1-osx-x86_64.zip",
"checksum": "476782d4220ff7b2d8b333a648a1f8a52c200211db85e76347e668d9d4c07515"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.1/protoc-24.1-win64.zip",
"checksum": "dad1efed75cb772a0c9e5d4646006bf87e1e051191473a2a30c9db66ee223cfd"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.1/protoc-24.1-linux-aarch_64.zip",
"checksum": "676a38ff5584c913bbab3991bb1a515b8cbd22a12c029e24c440d9b05c816f1c"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v24.1/protoc-24.1-osx-aarch_64.zip",
"checksum": "e7c622512ad2133f25bc6369e1330809daa7ae2742611bf596bbc904e18ca8d5"
}
},
"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"

59
manifests/syft.json generated
View File

@@ -23,7 +23,64 @@
} }
}, },
"latest": { "latest": {
"version": "0.86.1" "version": "0.88.0"
},
"0.88": {
"version": "0.88.0"
},
"0.88.0": {
"x86_64_linux_musl": {
"checksum": "d22c5e840c1a9ba10aee264d8bd015aca9c745bfd23efdfe75fdd36eeaf75ea8"
},
"x86_64_macos": {
"checksum": "f27232e327bf7f533dcffb2275250d325f45b69f5a0bd723c33f40f733e89e15"
},
"x86_64_windows": {
"checksum": "3c4bbcfee4c885e2b344c0de3dc77987057b27079cccb1b15435fd2399f92cfa"
},
"aarch64_linux_musl": {
"checksum": "2c5550833c9c958f29e0f0cd13fd962b1805b97c8775db73c44e274da42a7b39"
},
"aarch64_macos": {
"checksum": "8e822e53eb3f779e446466a93863a75da9e78cefdbcf1fa575b0645a45dcc868"
}
},
"0.87": {
"version": "0.87.1"
},
"0.87.1": {
"x86_64_linux_musl": {
"checksum": "1f6f5aa0bb5682f8db74cb5adf00fac9bddec40f6fcde808b71c43d3593e3cf5"
},
"x86_64_macos": {
"checksum": "c24990a01127bfe512351bb65694460629a6c83828e02aef9f8e7ece5d0b3c8a"
},
"x86_64_windows": {
"checksum": "ec89bf68571238a67b83c26a32371b67efa6daeaa819d67a9f281a69cb2e0cd0"
},
"aarch64_linux_musl": {
"checksum": "5570eb42a9a2b696d4d8398a9733f7f2dda0e4a243413960aeab44a1183a6f47"
},
"aarch64_macos": {
"checksum": "eeae4d4ed97f9519697027d658deab72fcdc94a6f2c4d77354a82085fb8db1f4"
}
},
"0.87.0": {
"x86_64_linux_musl": {
"checksum": "9567007466ae6c5c893abd680258f8781b0709188fb0aab59eb1eb35c64ea6b6"
},
"x86_64_macos": {
"checksum": "60137a14c6a1340e7405baa07876b5e442e756b208fd9b5b3cb2f9a14a410e19"
},
"x86_64_windows": {
"checksum": "2fe288c607b1d2febac30b5997b76aa83b40694b8af7af6690d9f64385212f3c"
},
"aarch64_linux_musl": {
"checksum": "14f5876c6543d084fa0f91ec928af8bd0dba7ea09f5848528c6402b20ff72041"
},
"aarch64_macos": {
"checksum": "2b68cefc0b51781fdf2669ef3633904fe057740b6752d2704db34ba380238387"
}
}, },
"0.86": { "0.86": {
"version": "0.86.1" "version": "0.86.1"

View File

@@ -2,7 +2,67 @@
"rust_crate": "wasmtime-cli", "rust_crate": "wasmtime-cli",
"template": null, "template": null,
"latest": { "latest": {
"version": "11.0.1" "version": "12.0.1"
},
"12": {
"version": "12.0.1"
},
"12.0": {
"version": "12.0.1"
},
"12.0.1": {
"x86_64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.1/wasmtime-v12.0.1-x86_64-linux.tar.xz",
"checksum": "59eb24b421c40104240d00848e3d9ffee5403b7e15958ace974aa2705050b0b3",
"bin": "wasmtime-v12.0.1-x86_64-linux/wasmtime"
},
"x86_64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.1/wasmtime-v12.0.1-x86_64-macos.tar.xz",
"checksum": "1975f51fd251fa19345776328f958985606458b5d7178c5a10fc72fd9f2ba59f",
"bin": "wasmtime-v12.0.1-x86_64-macos/wasmtime"
},
"x86_64_windows": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.1/wasmtime-v12.0.1-x86_64-windows.zip",
"checksum": "1878426629e78c7d80d26448fe5c9d8adf878383edc6ea4c772bc7ef59f963fb",
"bin": "wasmtime-v12.0.1-x86_64-windows/wasmtime.exe"
},
"aarch64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.1/wasmtime-v12.0.1-aarch64-linux.tar.xz",
"checksum": "7ec484c9f3c3002a789c41252b630ac509b0532102bfd3aa66e5d6d7dbebcc74",
"bin": "wasmtime-v12.0.1-aarch64-linux/wasmtime"
},
"aarch64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.1/wasmtime-v12.0.1-aarch64-macos.tar.xz",
"checksum": "975e286eb7ad4a4e17b7bb73b0b39dd6212ef7606f6d74ff63d5d8f2d5f7c339",
"bin": "wasmtime-v12.0.1-aarch64-macos/wasmtime"
}
},
"12.0.0": {
"x86_64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-linux.tar.xz",
"checksum": "c31e0d8eb2797627ba1f72b313315da960016f87ccec3cce2ae67654060a8f04",
"bin": "wasmtime-v12.0.0-x86_64-linux/wasmtime"
},
"x86_64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-macos.tar.xz",
"checksum": "27a649593f3106f256c227d26ce8f3d03b360a267d89b094537217104fa05e88",
"bin": "wasmtime-v12.0.0-x86_64-macos/wasmtime"
},
"x86_64_windows": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-x86_64-windows.zip",
"checksum": "fb0c6e981f2d1997174ef198819091bdca517c20ecd727762e0b38d2643b1b4d",
"bin": "wasmtime-v12.0.0-x86_64-windows/wasmtime.exe"
},
"aarch64_linux_gnu": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-aarch64-linux.tar.xz",
"checksum": "3693fd9db6ad37e6937c5fdc003f0038bbfde9eec0ad33ee7cc611a85cac29c4",
"bin": "wasmtime-v12.0.0-aarch64-linux/wasmtime"
},
"aarch64_macos": {
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v12.0.0/wasmtime-v12.0.0-aarch64-macos.tar.xz",
"checksum": "64d594618e47e0b5b70a3b38c943e6d79c145ea281defef1ad13c92faafc3e8c",
"bin": "wasmtime-v12.0.0-aarch64-macos/wasmtime"
}
}, },
"11": { "11": {
"version": "11.0.1" "version": "11.0.1"

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

@@ -0,0 +1,13 @@
{
"repository": "https://github.com/bnjbvr/cargo-machete",
"tag_prefix": "v",
"rust_crate": "${package}",
"asset_name": "${package}-v${version}-${rust_target}.tar.gz",
"bin": "${package}-v${version}-${rust_target}/${package}${exe}",
"platform": {
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {},
"aarch64_macos": {}
}
}

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

View File

@@ -112,6 +112,49 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
echo "${new}" >"${lib}" echo "${new}" >"${lib}"
check_diff "${lib}" check_diff "${lib}"
done done
# Make sure that public Rust crates don't contain executables.
failed_files=''
metadata=$(cargo metadata --format-version=1 --all-features --no-deps)
has_public_crate=''
for id in $(jq <<<"${metadata}" '.workspace_members[]'); do
pkg=$(jq <<<"${metadata}" ".packages[] | select(.id == ${id})")
publish=$(jq <<<"${pkg}" -r '.publish')
# Publishing is unrestricted if null, and forbidden if an empty array.
if [[ "${publish}" == "[]" ]]; then
continue
fi
has_public_crate='1'
done
if [[ -n "${has_public_crate}" ]]; then
info "checking file permissions"
if [[ -f Cargo.toml ]] && grep -Eq '^\[package\]' Cargo.toml && ! grep -Eq '^publish = false' Cargo.toml; then
if ! grep -Eq '^exclude = \[.*\.\*.*\]' Cargo.toml; then
error "top-level Cargo.toml of real manifest should have exclude field with \"/.*\" and \"/tools\""
elif ! grep -Eq '^exclude = \[.*/tools.*\]' Cargo.toml; then
error "top-level Cargo.toml of real manifest should have exclude field with \"/.*\" and \"/tools\""
fi
fi
for p in $(git ls-files); do
# Skip directories.
if [[ -d "${p}" ]]; then
continue
fi
# Top-level hidden files/directories and tools/* are excluded from crates.io (ensured by the above check).
# TODO: fully respect exclude field in Cargo.toml.
case "${p}" in
.* | tools/*) continue ;;
esac
if [[ -x "${p}" ]]; then
failed_files+="${p}"$'\n'
fi
done
if [[ -n "${failed_files}" ]]; then
error "file-permissions-check failed: executable should be in tools/ directory"
echo "======================================="
echo -n "${failed_files}"
echo "======================================="
fi
fi
fi fi
# C/C++ (if exists) # C/C++ (if exists)