Use asset etag to avoid fetches (#547)

This commit is contained in:
John Vandenberg
2024-06-21 11:54:24 +08:00
committed by GitHub
parent 7f728f888f
commit a6c0face45
56 changed files with 6337 additions and 12 deletions

View File

@@ -10,11 +10,11 @@ cd "$(dirname "$0")"/..
# ./tools/manifest.sh [PACKAGE [VERSION_REQ]]
if [[ $# -gt 0 ]]; then
cargo run --manifest-path tools/codegen/Cargo.toml --release -- "$@"
cargo +nightly run --manifest-path tools/codegen/Cargo.toml --release -- "$@"
exit 0
fi
for manifest in tools/codegen/base/*.json; do
package=$(basename "${manifest%.*}")
cargo run --manifest-path tools/codegen/Cargo.toml --release -- "${package}" latest
cargo +nightly run --manifest-path tools/codegen/Cargo.toml --release -- "${package}" latest
done