Kit · K04: cargo search without color, so CI reads Kit's newest release

This commit is contained in:
ZacharyZhang-NY committed 2026-10-07 13:45:36 -04:00
1 parent b3985b9b5b
commit 0040dc799a
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ cargo clippy --all-targets --features test-support -- -D warnings
cargo test --lib --features test-support --quiet
# Ely beside the newest GPUI Kit: a release that moves Kit's gpui pin fails to resolve here.
kit="--manifest-path compat/kit/Cargo.toml"
newest=$(cargo search gpui-kit --limit 1 | sed -n 's/^gpui-kit = "\([^"]*\)".*/\1/p')
newest=$(cargo search gpui-kit --limit 1 --color never | sed -n 's/^gpui-kit = "\([^"]*\)".*/\1/p')
[ -n "$newest" ] || { echo "crates.io named no gpui-kit release" >&2; exit 1; }
cargo generate-lockfile $kit
cargo update $kit -p gpui-kit --precise "$newest"